Let the storm money come!

Dom 中同级元素 选择第几个的另类方法

    $("p:eq(1)").css("color", "red");   也可以用 $("p:nth(1)") 来表示,不知道原理是什么,但是经过测试确实有效。
posted @ 2010-05-29 16:59  精密~顽石  阅读(302)  评论(1编辑  收藏  举报
在通往地狱的路上,加班能使你更快到达。