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
Explain the types of selectors in jquery?
What is the difference between the knockout and jquery?
How can we apply css in last child of parent using jquery library?
Write a code for the implementation of a module pattern.
How to use jquery.connect?
What is the use of clone method in jQuery?
How to get attributes of an element using jQuery?
Can you write a code to select all links inside the paragraph?
What are the features of jquery used in web applications?
Explain the difference between parent() and parents() methods in jquery? : jquery mobile
How to get the current offset of the first matched element, in pixels, relative to the document using ?
How to keep the submit text from showing with jquery mobile? : jquery mobile
Do we need to add the jquery file both at the master page and content page as well?
What is the difference between jquery-x.x.x.js and jquery.x.x.x min.js?
What is difference between $(this) and ‘this’ in jquery?