我有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