How do I select all <div>
elements which do not contain any 开发者_Go百科<img>
elements using jQuery?
$('div:not(:has(img))')
$(".className").not(":has(img)")
How do I select all <div>
elements which do not contain any 开发者_Go百科<img>
elements using jQuery?
$('div:not(:has(img))')
$(".className").not(":has(img)")
精彩评论