how to get element index in jquery selector code example
Example: get index of selector jquery
$("#wizard").delegate('li', 'click', function () {
console.log( $(this).index() );
});
$("#wizard").delegate('li', 'click', function () {
console.log( $(this).index() );
});