Answers for "redirect to link using jquery on new tab"

17

javascript open link in new tab

function NewTab() { 
            window.open( 
              "https://www.yourURL.com", "_blank");
}
Posted by: Guest on November-18-2019
1

redirect to link using jquery on new tab

window.open("https://www.yourURL.com", "_blank");
Posted by: Guest on February-08-2021
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

Code answers related to "redirect to link using jquery on new tab"

Code answers related to "Javascript"

Browse Popular Code Answers by Language