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