Answers for "how to open new window with some link in js"

18

javascript open link in new tab

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

javascript open new window with html content

var newWin = open('url','windowName','height=300,width=300');
newWin.document.write('html to write...');
Posted by: Guest on October-19-2020

Code answers related to "how to open new window with some link in js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language