Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

javascript open link in new tab

function NewTab() { 
            window.open( 
              "https://www.yourURL.com", "_blank");
}
Comment

open new tab with javascript

window.open(url,'_blank');
Comment

javacript open url in new tab

window.open(url,'_blank');
window.open(url);
Comment

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');
Comment

JS open window in new tab

window.open('page.html', '_newtab');
Comment

open link in new tab javascript

<a href='https://google.com/' target='_blank'>
  Google site
</a>
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript fill 2d array 
Javascript :: get the current url javascript 
Javascript :: js yesterday date 
Javascript :: set padding jquery 
Javascript :: detect if scrolled to bottom 
Javascript :: get params js 
Javascript :: get lines as list from file node js 
Javascript :: get local storage javascript 
Javascript :: change favicon with javascript 
Javascript :: select2 get selected value 
Javascript :: jquery get iframe content 
Javascript :: how to wait foreach javascript 
Javascript :: for elem in list javascript 
Javascript :: javascript get seconds between two dates 
Javascript :: jquery insert element as first child 
Javascript :: jquery transform scale 
Javascript :: js number to hex 
Javascript :: get discord.js role 
Javascript :: regex between brackets multiline line 
Javascript :: js remove duplicates from array 
Javascript :: read json file flutter 
Javascript :: for char in string javascript 
Javascript :: jquery get src of image 
Javascript :: how to check if enter is pressed javascript 
Javascript :: ElevatedButton styling 
Javascript :: javascript pad with leading zeros 
Javascript :: activate es6 module node package.json 
Javascript :: package.json: License should be a valid SPDX license expression 
Javascript :: js foreach querySelectorAll 
Javascript :: discord.js create unexipable invite 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =