Okay, if I have a html document that looks a bit like this:
<div class='item'> ... </div>
<div class='item'> ... </div>
<div class='item'> ... </div>
<div class='item'> ... </div>
I know I an iterate over them by doing
$('.item').each
But what if I already know I want to do something with the second one? Is there some sort of syntax similar to:
$('.item')[2]
which is usable as a selector? ie. I'd want to do:
$('.item')[2].css('display','block');
Possible or not? :)