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 use of val() method in jquery?
How to select combobox select value and text using jquery?
In jquery, what is the meaning of toggle?
Explain the use of the .pushstack() method.
Whether our own specific characters are used in place of $ in jQuery?
Can there be more than one ready function in jquery?
Is jquery a library for client scripting or server scripting? : jquery mobile
What is jquery.size()? : jquery mobile
Explain width() vs css(‘width’)?
How do you disable or enable a form element?
What is resize() function in jquery?
How do you add an HTML element in DOM tree?
How to validate email using jquery?
How to disable cut,copy and paste in TextBox using jQuery?
What is the difference between $.map and $.grep in jQuery?