open link in new tab jquery
snippet in javascript

open link in new tab jquery

user8979

var win = window.open('http://stackoverflow.com/', '_blank');
if (win) {
    //Browser has allowed it to be opened
    win.focus();
} else {
    //Browser has blocked it
    alert('Please allow popups for this website');
}

jquery open page in new tab

user4642

window.open('_link is here_', 'name');