Answers for "open new tab in jquery"

1

jquery open a new tab

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
0

open page in new tab using jquery

window.open('http://stackoverflow.com/', '_blank');
Posted by: Guest on June-04-2021
1

jquery open page in new tab

window.open('_link is here_', 'name');
Posted by: Guest on May-15-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language