Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How jQuery selectors are executed?

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


Please Help Members By Posting Answers For Below Questions

Explain chaining in jquery? : jquery mobile

760


How can we apply css in even childs of parent node using jquery library?

806


What is the difference between jquery.get() and jquery.ajax()?

810


Explain the difference between jquery-x.x.x.js and jquery.x.x.x min.js?

694


What is the method used to define the specific character in place of $ sign?

909


What is the between $(this) and 'this' in jquery?

761


Define cache paremeter of jquery ajax method?

712


How to use transition effects? : jQuery Mobile

758


What is the advantage of using minimized version of jQuery?

800


What is the difference between onload() and document.ready() function used in jquery?

1090


How can we show and hide an element via jquery?

735


Explain various methods to make ajax request in jquery?

739


What is the script build up by jQuery?

837


Difference between javascript and jquery?

763


What is the use jQuery.data method?

868