我有3個CSS類A,B,CjQuery的不:選擇與OR
我想選擇「一個」,但不以任何「b」或「c」的 的其在類中的所有元素例如
class="a" <- select
class="anyThing" <- do not select
class="a anyThing" <- select
class="a b" <- do not select
class="a c" <- do not select
class="a anything c" <- do not select
這裏就是我想沒有成功:
$('.a:not(.b .c)')...
我缺少什麼? 在此先感謝
你試過$(」 A:不是(.B):不是(.C) ')? – 2014-08-27 11:36:32
@Julien謝謝。請作爲答覆發佈,我會標記它。 – 2014-08-27 11:40:27