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

What is the name of jquery method used for an asynchronous http request?

779


Hide and show image on button click using jQuery?

733


Explain the concepts of "$ function" in jquery with an example?

801


How to check/uncheck an input in jquery?

819


Is jquery a framework?

744


What happen if you return false from a jQuery event handler?

804


What the use of $ symbol in jquery.

755


Explain .live()? : jquery mobile

748


How to get the style property of an element using ?

714


What is the difference between $.map and $.grep in jQuery?

812


What is .remove()? : jquery mobile

757


How to multiple version of jQuery?

808


Can you write a code to select all links inside the paragraph?

799


Difference between find() and closest() in jquery?

788


Difference between event.PreventDefault and event.stopPropagation?

821