嘿大家, 這裏就是我想要做的..如何訪問每5個事業部,從一個容器,這樣我就可以使用jQuery的添加類
我有格,將包含許多其他分區(產品在購物車),說 增加50.
這些包含divs,我需要訪問每5個乞討1,所以它會是div#1,6,11,16,21等。然後使用jQuery將Add Class添加到這些div。
有人可以指出我在正確的方向如何做到這一點?
這將是非常感激,感謝
嘿大家, 這裏就是我想要做的..如何訪問每5個事業部,從一個容器,這樣我就可以使用jQuery的添加類
我有格,將包含許多其他分區(產品在購物車),說 增加50.
這些包含divs,我需要訪問每5個乞討1,所以它會是div#1,6,11,16,21等。然後使用jQuery將Add Class添加到這些div。
有人可以指出我在正確的方向如何做到這一點?
這將是非常感激,感謝
+1,第n個孩子很適合他的要求。 – 2011-01-22 21:23:12