I see this has selector, where's the hasnt
selector? I want to开发者_如何学Go find tables that don't contain images.
Something like $("table:not(:has(img))")
?
Take a look at not(). Then you can say:
$('selection').not('something-you-don\'t-want')
Try the .not() method or the :not() selector.
精彩评论