Using JQuery how do we find what the current nth:child the element being clicked is and alert that number.
$('.bouncetabs a').click(function(){
alert($(this + ':nth-child'))
return false
});
Obviously that does not work. How do we do it?
I think you want the .index method: