How manieth element is this?
<p>How do I know the how manieth an element is? (using Javascript or jQuery)
Suppose I have one UL with multiple LI within, how do I know wheter the LI clicked is the 4th or the 6th?</p>

<pre><code>$('li').click(function(){
    nth = $(this).nth();
    alert(nth);
});
</code></pre>
