jQuery Tutorial

What is jQuery Traversing? DOM Traversing in jQuery Explained

What is jQuery Traversing?

jQuery traversing (which means "move through") is a technique for "finding" (or selecting) HTML components based on their relationships with other elements. 

Starting with the selected (current) element, jQuery traversing allows you to effortlessly navigate up (ancestors), down (descendants), and laterally (siblings) in the tree. 

The process of traversing - or moving through - the DOM tree is known as traversing.

What is jQuery Traversing?

Traversing the DOM in jQuery

The DOM can be traversed using a variety of methods provided by jQuery.

Tree traversal is the most common type of traversal method.

The following topics will demonstrate how to navigate up, down, and sideways through the DOM tree.

Did you find this article helpful?