JQuery Programmer Question: Download JQuery Programmer PDF
What is the difference between parent() and parents() methods in jQuery?
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.
Previous Question | Next Question |
Is there any difference between body onload() and document.ready() function? | What is difference between prop and attr? |