开发者

jquery 1.3 not(:first) problem in IE

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);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜