What is the difference between the id selector and class selector in jquery?
Answer / 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 |
Is jQuery replacement of Java Script?
Which is fast document.getElementByID('txtName') or $('#txtName').?
How to select combobox select value and text using jquery?
Can you give me a brief history of your programming days? Where did it all start?
What is the advantage of using protocol less URL while referencing jQuery from CDNs?
What is the difference between settimeout() and setinterval() methods?
What is finish method in jQuery?
Different ways of using $.connect function in jquery?
Mention the differences between javascript and jquery.
How can we apply css in last child of parent using jquery library?
Why use jQuery filter() Methods?
What is event.stoppropagation? : jquery mobile