I have a fiddle here, very simple one.
http://jsfiddle.net/tnQne/
The js I have is here
$(\'section a\').on(\'click\', function() { alert
lonesomeday has a good way to do it but another way is:
$('section a').on('click', function(e) { alert( $.inArray(e.target, $('section a')) ); });
jsFiddle example