1.

What Are The Differences Between “parents” And “parent” Methods?

Answer»

In DOM structure “parents” METHOD is used to traverse all along the DOM tree, WHEREASPARENT” method is used to traverse only ONE LEVEL.

In DOM structure “parents” method is used to traverse all along the DOM tree, whereas “parent” method is used to traverse only one level.



Discussion

No Comment Found