i have 3 div tags of same class,
<div class="redc">
<p>sdfs</p>
</div>
<div class="redc">
<p>sdfs</p开发者_如何学运维>
</div>
<div class="redc">
<p>sdfs</p>
</div>
to select div other than first ,$(".redc:not(:first)")
works fine in mozilla,but not in IE
Please suggest any alternative for IE
Note: vesion jquery 1.3
If you just want to get rid of the first item, you can use the slice function:
$('.redc').slice(1);
精彩评论