find elemen index in jquery code example
Example 1: jquery index of element
$("#wizard li").click(function () {
console.log( $(this).index() );
});
Example 2: jquery get element by index
$('ul li').eq(index).css({'background-color':'#343434'});