Can a hyperlink be modified based on what it is not associated with?
So you know how in css this [href*='www.example.com']
will grab every link that goes to www.example.com
? Can you do the opposite? In other words, take every link that doesn't point to www.example.com
.
If this is not possible with css, is it possible to do it with jquery?
+3
Ryan
source
to share
1 answer
you can try $("[href!='www.example.com']")
.
+1
MstfAsan
source
to share