SyntaxFix
Write A Post
Hire A Developer
Questions
And for people who are looking for a jQuery compatible answer:
$('.foo:eq(1)').css('color', 'red');
HTML:
<div> <div class="other"></div> <div class="foo"></div> <div class="foo">Find me</div> ...