How can I use jQuery to select an element only if it doesn\'t have any classes?
I\'m writing a page which allows the html author to override the default jQuery action by
This should do the thing: $('li').not('li[class]')
$('li').not('li[class]')