Answers for "how to make a link to open in 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
3

open new tab with javascript

window.open(url,'_blank');
Posted by: Guest on March-26-2020

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language