Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery get element by index

$('ul li').eq(index).css({'background-color':'#343434'});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #element #index
ADD COMMENT
Topic
Name
1+3 =