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 jquery mobile theming? : jquery mobile

0 Answers  


How to check variable is empty or not in jquery?

0 Answers  


Explain url paremeter of jquery ajax method?

0 Answers  


Define type paremeter of jquery ajax method?

0 Answers  


Mention the advantages of cdn? : jQuery Mobile

0 Answers  






How to give face effect in jquery?

0 Answers  


Explain cdn in jquery?

0 Answers  


Explain slidetoggle() effect.

0 Answers  


How can you select all elements in a page using jquery?

0 Answers  


Can JQuery Run on MAC or Linux instead of Windows?

0 Answers  


Tell me is jquery a w3c standard? : jquery mobile

0 Answers  


How can we show and hide an element via jquery?

0 Answers  


Categories