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 |
How to increase cursor size in html body using jquery?
What is the jQuery code to select all links inside the paragraph?
How to Use the jQuery load() Method?
What is the difference between jQuery and jQuery UI?
What are the difference between empty(), remove() and detach() functions in jquery?
How to add and remove css classes to an element using jquery?
How is body onload() function is different from document.ready() function used in jquery?
Explain the features of jquery?
How can we give face effect in jquery?
What is a dom in jquery? How can we make sure that dom is ready?
Can you please explain the difference between parent() and parents() methods in jquery? : jquery mobile
What is the starting point of code execution in jquery?