What is the difference between parent() and parents() methods in jQuery?
Answer / 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 |
How to debug jquery code/ debug jquery?
How to select element having a particular class (".selected")?
Will Events Are Also Copied On Clone In Jquery?
What is jquery selectors?
Where jquery mobile works? : jquery mobile
What is the difference between prop and attr?
Difference between event.PreventDefault and event.stopPropagation?
What are selectors in jquery?
How can an element be checked if it contains a specific class?
How can jquery library be added to pages? Write a basic jquery code?
How we can remove an attribute of an html tag in jquery?
What is the use of queue() in jquery?