get li index no jquey code example Example: jquery index of element $("#wizard li").click(function () { console.log( $(this).index() ); });