[jQuery] Altering external links
[jQuery] Altering external links
How would I modify the following to only target anchors with an href
beginning with "http"?
$('a').each(function(index) {
$(this).attr({
'target': 'blank'
});
});
Topic Participants
emlerne
martijn.houtman
tim