JavaScript DOM Traverse

JavaScript utility to traverse the DOM under an element

Sample 1

Sample table 1
1
2
Hide tagName undefined*

Sample 2

div a
div b
div c
Hide tagName undefined*

Results

Notes

About this page: