arozwalak
10/30/2014 - 1:07 PM

Javascript: Open link in new window

Javascript: Open link in new window

$('a[rel="external"]')
  .click( function() {
    window.open( $(this).attr('href') );
    return false;
  });