Answers for "window function to open new tab"

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language