Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript open new tab window

// javascript open new tab window
function NewTab() { 
            window.open( 
              "https://www.yourURL.com", "_blank");
}
//----------------------
window.open(url,'_blank');
//----------------------
//--open in new window, not new tab
window.open('https://www.codegrepper.com', '_blank', 'toolbar=0,location=0,menubar=0');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #open #tab #window
ADD COMMENT
Topic
Name
5+2 =