[SOLVED] Get execution index of method?

[SOLVED] Get execution index of method?

I'm not sure if the subject describes what I'm asking very well, but it's the best I can think of. In this example:

$(".nav a").bind("click", function(event, i) {
   
});


Is there a way to get the index of the a you clicked passed into the handler? Like if I clicked the second A i would = 2.

Same question for any jquery method actually. Since they all work off of collections I'd like to be able to get the index on anything.