KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a program that assigns a variable as: var theList = document.getElementById('theList'); it uses jquery, but if I write it like this: var theList = $('#theList'); the function that uses that variable doesn't work. What is the distinction between a jquery selector and using getElementById?
Tags (comma-separated)
Save Edits
Cancel