0
我有一个这样的名单:jQuery选择器|复杂的选择
<div class="cloned"><a rel="test" href="" title=""></a></div>
<div><a rel="test" href="" title=""></a></div>
<div><a rel="test" href="" title=""></a></div>
<div><a rel="test" href="" title=""></a></div>
<div class="cloned"><a rel="test" href="" title=""></a></div>
我想使用jQuery选择所有<a>
与rel=test
排除所有<a>
是克隆的DIV类中。这样
$("div:not(.cloned) a[rel=test]")
东西谢谢
我看不出有什么问题。 – kennytm 2010-10-18 11:42:28