Answer Posted / 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 View All Answers
Tell me how to select combobox select value and text using jquery?
How do I pull a native DOM element from a jQuery object?
Define .siblings() method in jquery?
Can you write a code to select all links inside the paragraph?
What is the difference between map and grep function in jquery?
What is resize() function in jquery?
Can you please explain the difference between javascript and jquery? : jquery mobile
Why jQuery is better than JavaScript?
How to divide a page into parts using jquery mobile? : jquery mobile
Tell me how to executed jquery selectors? : jquery mobile
How you will use jquery means requirement needed for using jquery.
Explain all the ways to include jquery in a page?
What are the browser related issues for jQuery?
How can related code be encapsulated? Give example.
What are the difference between empty(), remove() and detach() functions in jquery?