/ Published in: jQuery
Easily target elements which have certain attributes using jQuery
Expand |
Embed | Plain Text
$('a[target=_blank]').css('background', 'red');
You need to login to post a comment.
davebowker on 07/02/09
1 person have marked this snippet as a favorite
Easily target elements which have certain attributes using jQuery
$('a[target=_blank]').css('background', 'red');
You need to login to post a comment.