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
Explain slidetoggle() effect.
What is $() in jquery?
How we can get the value of a radio button using jquery?
Tell me an example usage of jquery mobile? : jquery mobile
Explain the difference between body onload() and document.ready() function? : jquery mobile
Explain some benefits of jquery knockout?
How can you apply a style on an element using jQuery?
what are the features of jquery
How to concatenate two strings using jquery?
What are the approaches of extracting a query string with regular expressions?
What is a jquery ajax?
Do you have plans for a new jquery plug-in or something else we should look out for? Where to from here for the imgpreview plugin?
What is parent() in jquery?
Explain the common methods of sending a request to a server.
Hide and show image on button click using jQuery?