Answer Posted / chaitanya
Your last selectors is always executed first. For example, in below jQuery code, jQuery will first find all the elements with class ".myCssClass" and after that it will reject all the other elements which are not in "p#elmID".
Hide Copy Code
$("p#elmID .myCssClass");
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to include jQuery in ASP.Net project?
Difference between javascript and jquery?
How to debug jquery code/ debug jquery?
How do you install/use jquery in a project.
How to get the value of selected option in jquery?
How can events be prevented from stopping to work after an ajax request?
How to check data type of any variable in jquery? : jquery mobile
Why do we use jquery? : jquery mobile
Can you use any other name in place of $ (dollar sign) in jQuery?
How to check or uncheck all checkboxes using jquery?
How we can get the value of a radio button using jquery?
Is Uncaught TypeError: $(…).modal not a function jquery?
What is slice() method in jquery?
Is jquery a framework?
In jquery, what is the meaning of toggle?