How jQuery selectors are executed?
Answer / 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 |
Explain animate function in jquery?
Why jquery?
What is method chaining in jquery and what are the advantages?
Can you use any other name in place of $ (dollar sign) in jQuery?
Why do we use jQuery?
What is the difference between onclick and onsubmit?
What are selectors in jquery?
How to divide a page into parts using jquery mobile? : jquery mobile
List the advantages of jquery?
How to validate phone number using jquery?
What is a jquery ajax?
What does dollar sign ($) means in jQuery?