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

jQuery .eq() selector

0 votes
12 views
added May 4 in jQuery by LC Marshal Lieutenant (13,570 points)
//.eq(2) of 5 divs = 3rd div
$('body').find('.element').eq(2).addClass('blue');

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...