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...

What is the difference between parent() and parents() methods in jQuery?

Answer Posted / chaitanya

The basic difference is the parent() function travels only one level in the DOM tree, where parents() function search through the whole DOM tree.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you please explain the difference between prop and attr? : jquery mobile

780


What is the jQuery code to select all links inside the paragraph?

962


What is the difference between jquery-x.x.x.js and jquery.x.x.x min.js?

870


How we can set the html contents of an element in jquery?

866


Why do we use jquery? : jquery mobile

850


How we can select multiple elements in jquery?

871


Why jQuery is better than JavaScript?

923


What are jquery selectors?

875


What is parseint() and why it is used?

918


Difference between document.ready and window.onload? : jQuery Mobile

909


Is window.onload is different from document.ready()?

779


How to revert the most recent ‘destructive’ operation, changing the set of matched elements to its previous state using ?

870


What is resize() function in jquery?

983


How We Can Write Code Specific To Browser In Jquery?

847


How can we apply css in last child of parent using jquery library?

879