Are you first timer at lazacode.org? Why not join us and start exchange your knowledge with everyone. Register today!

jQuery .eq() selector

0 votes
8 views
added May 4 in jQuery by LC Marshal First Warrant Officer (8,170 points)
//.eq(2) of 5 divs = 3rd div
$('body').find('.element').eq(2).addClass('blue');

Please log in or register to example this solution.

lazacode.org - Malaysia based Knowledge Exchange Platform, where you can share your finding or solution with other members of community.
...