Jquery how to select tag that does not contain two classes? -


in jquery, how can select tags, doesn't have class a , class b.

you can use :not():

$(':not(.a.b)') 

to select elements dont have both class , class b.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -