Please enter a number more than zero. Using (.parent()):
Refresh/Reload
$("#div1").find("li".eq(n)  
$("#div2 li.a31").parentsUntil(".u1")  
- Item 0
- Item 1
- Item 2
- Item 3
- Item 4
- Item 0
- Item 1
- Item 2
- Item 3
- Item 4
FYI: The indexing of List-Items starts from numeric zero. Therefore, the
List Index of Item3 is 4, and you need to enter 4 to access this list
item.