set all links to open in new window
by jelontok
HTML
<a href="http://google.com">Link</a>
JavaScript
// set all links to open in new window
jQuery('a').click(function (){
jQuery(this).attr('target', '_blank');
});
by jelontok
<a href="http://google.com">Link</a>
// set all links to open in new window
jQuery('a').click(function (){
jQuery(this).attr('target', '_blank');
});