Answers for "open all link on website in new tab using jquery"

1

open link in new tab jquery

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');
}
Posted by: Guest on September-14-2020

Code answers related to "open all link on website in new tab using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language