Hi
I have a list like this one:
<ul>
<li>
<a href="..."> ... </a>
<a href="..."> ... </a>
</li>
<li>
<a href="..."> ... </a>
<a href="..."> ... </a>
</li>
<li>
<a href="..."> ... </a>
<a href="..."> ... </a>
</li>
...
</ul>
and the jQuery:
$("li").each(function(){
// do stuff
});
How can I get the current list number (like 1, 2 or 3) inside that jquery function (where do stuff is)?