Did you have a look at the index method in the documentation? http://docs.jquery.com/Core/index#subject
So: var li = $('li').click(function() { alert(li.index(this)); }); --Klaus On 4 Nov., 12:44, ienes <[EMAIL PROTECTED]> wrote: > Hello there, > > Imagine we have an unordered list and I want to get an index (position > number in group) from the LI element I'm working on. > More precisely, let's say the particular list has 10 LI items. I'm > handling the second one at the moment, but I don't know that, so how > can I return the number? > > Regards