adspace
What is the difference between the id selector and class selector in jquery?
Answer Posted / Tanu Pal
The ID selector selects HTML elements based on their unique ID attribute, using the # symbol followed by the ID value. The Class Selector selects elements based on their class attributes using the . symbol followed by the class name. Unlike IDs, multiple HTML elements can share the same class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can jquery library be added to pages?
What is the minimum setup needed to start using jquery.
How do you install/use jquery in a project. What is the minimum setup needed to start using jquery.
Do you have plans for a new jquery plug-in or something else we should look out for? Where to from here for the imgpreview plugin?
How to validate email using jquery?
How to always reference latest version of jquery?