Run
jQuery closest() Method to Return Ancestor of the Selected Element.
jQuery closest() Method to Return Ancestor of the Selected Element.
Second ul ancestor.
First li item.
First ul ancestor.
Span element
This is list element
Second li item.
Third li item.
Click to Return Closest
Go to
Tutorialdeep Homepage