jquery object get index by value code example Example: jquery get element by index $('ul li').eq(index).css({'background-color':'#343434'});