Using jQuery to target=blank
jQuery
Replicate the target="_blank" attribute with this HTML5 valid example in jQuery
Code
$('a[data-rel*=external]').click( function() {
window.open(this.href);
return false;
});
jQuery
Replicate the target="_blank" attribute with this HTML5 valid example in jQuery
Code
$('a[data-rel*=external]').click( function() {
window.open(this.href);
return false;
});