How would I modify the following to only target anchors with an href
beginning with "http"?

$('a').each(function(index) {
  $(this).attr({
    'target': 'blank'
  });
});

Reply via email to