Open new browser window/tab with jQuery
Forget adding the standards non-compliant target="_blank"
to your markup. Open new windows with jQuery:
$('a[rel^="external"],a[rel$="external"]').attr({target:"_blank"});
Published on February 9, 2011