views:

93

answers:

1

Hi,

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

+2  A: 

If you just want to get rid of the first item, you can use the slice function:

$('.redc').slice(1);
josh3736