How jQuery selectors are executed?



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

Post New Answer

More jQuery Interview Questions

What is the minimum setup needed to start using jquery.

0 Answers  


How to resolve conflicts with other libraries?

0 Answers  


What is the difference between jquery and javascript?

0 Answers  


Explain the concepts of "$ function" in jquery with an example?

0 Answers  


Why we need jquery mobile? : jquery mobile

0 Answers  


What is a cdn? : jQuery Mobile

0 Answers  


What is jquery.noconflict? Explain

0 Answers  


Explain cdn in jquery?

0 Answers  


What is jQuery code to select all links in first paragraph?

0 Answers  


How you get server response from an ajax request using jquery?

0 Answers  


What are some of the ways to provide effects? : jQuery Mobile

0 Answers  


What is the use of serialize method in jQuery?

0 Answers  


Categories