Answers for "how to open a new tab in javascript"

18

javascript open link in new tab

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

javacript open url in new tab

window.open(url,'_blank');
window.open(url);
Posted by: Guest on July-05-2020
10

javascript open new window

<a onclick="window.open(document.URL, '_blank', 'location=yes,height=570,width=520,scrollbars=yes,status=yes');">
Open New Window
</a>
Posted by: Guest on February-13-2020
4

javascript open in new window not tab

//open in new window, not new tab
window.open('https://www.codegrepper.com', '_blank', 'toolbar=0,location=0,menubar=0');
Posted by: Guest on August-05-2019

Code answers related to "how to open a new tab in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language