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

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

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -