JQuery Programmer Question: Download Questions PDF
What is the difference between parent() and parents() methods in jQuery?
![JQuery Programmer Interview Answer JQuery Programmer Interview Question](https://globalguideline.com/public/images/interview/23.png)
Answer:
The basic difference is the parent() function travels only one level in the DOM tree, where parents() function search through the whole DOM tree.
Download JQuery Programmer Interview Questions And Answers
PDF
Previous Question | Next Question |
Is there any difference between body onload() and document.ready() function? | What is difference between prop and attr? |