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

PREVIOUS NEXT
Code Example
Javascript :: server express node js 
Javascript :: Javascript looping through table 
Javascript :: open json file in current directory python 
Javascript :: qrcode.js 
Javascript :: datetime to date in js 
Javascript :: javascript prompt 
Javascript :: console redux state shows proxy 
Javascript :: hashnode.com 
Javascript :: datatable after loading function 
Javascript :: jquery get selected text from multiselect 
Javascript :: convert functoin with call back to promise 
Javascript :: discord js setinterval 
Javascript :: react get current date yyyy-mm-dd 
Javascript :: disable unused vars 
Javascript :: how to get the next item in map() js 
Javascript :: jquery scroll to div with offset 
Javascript :: javascript map 2 array of objects 
Javascript :: json fetch data doest show 
Javascript :: node js unix timestamp 
Javascript :: write json file nodejs 
Javascript :: angular keyup.enter 
Javascript :: javascript fill array with range 
Javascript :: how to get current date in js 
Javascript :: implement the remove property function 
Javascript :: javascript: get the url without query string 
Javascript :: discord.js random message 
Javascript :: jquery $(...)..each() is not a function 
Javascript :: reset form javascript/jquery 
Javascript :: javascript word count 
Javascript :: call a function when page is loaded 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =