DOM - Traversal
About
traversal operations on the DOM.
Articles Related
Example
Native
Jquery
Functions List:
$('selector')
.parent()
.parents() // Many
.children()
.find()
.siblings()
* Log the text of each element
<p>Text from first p</p>
<p>Text from second p</p>
$('body > p').each( function(){
console.log($(this).text());
})