jquery - Is there a way to target a tags with img inside? -


i need target a tags img inside them. can through css or have use jquery?


additional info comment

i set a:hover { border-bottom:1px dotted #fff } don't want border apply tags img inside them.

there's no :has in css. in jquery can do

$("a:has(img)") 

Comments

Popular posts from this blog

sql - text truncated using perl DBI insert -

c++ - Is it possible to compile a VST on linux? -

php - Pass object by reference or value -