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
What is the name of jquery method used for an asynchronous http request?
Hide and show image on button click using jQuery?
Explain the concepts of "$ function" in jquery with an example?
How to check/uncheck an input in jquery?
Is jquery a framework?
What happen if you return false from a jQuery event handler?
What the use of $ symbol in jquery.
Explain .live()? : jquery mobile
How to get the style property of an element using ?
What is the difference between $.map and $.grep in jQuery?
What is .remove()? : jquery mobile
How to multiple version of jQuery?
Can you write a code to select all links inside the paragraph?
Difference between find() and closest() in jquery?
Difference between event.PreventDefault and event.stopPropagation?