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 |
Which command will give a version of jQuery?
How do I check if an HTML element is empty using jQuery?
How we can get the input value of an element using jquery?
How can jquery library be added to pages? Write a basic jquery code?
Is it possible to use our own specific character in the place of $ sign in jquery? : jquery mobile
Suppose if you have a server control(asp.net server control, button) and on the click of button you want to call a jquery function, so tell me how you will call a jquery function without postback?
What to do to select element having a particular class (".selected")? : jquery mobile
What is jquery selectors?
Define all the ways to include jquery in a page?
Tell me which command will give a version of jquery?
How to add or remove classes to an element in jquery?
What is event.stoppropagation? : jquery mobile