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 use of val() method in jquery?

844


How to select combobox select value and text using jquery?

791


In jquery, what is the meaning of toggle?

743


Explain the use of the .pushstack() method.

831


Whether our own specific characters are used in place of $ in jQuery?

753


Can there be more than one ready function in jquery?

733


Is jquery a library for client scripting or server scripting? : jquery mobile

729


What is jquery.size()? : jquery mobile

800


Explain width() vs css(‘width’)?

742


How do you disable or enable a form element?

770


What is resize() function in jquery?

913


How do you add an HTML element in DOM tree?

816


How to validate email using jquery?

874


How to disable cut,copy and paste in TextBox using jQuery?

943


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

843