Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

window.location.href another tab

window.open(
  'https://support.wwf.org.uk/earth_hour/index.php?type=individual',
  '_blank' // <- This is what makes it open in a new window.
);
Comment

PREVIOUS NEXT
Code Example
Javascript :: stylelint default config 
Javascript :: js capitalize 
Javascript :: javascript pluck 
Javascript :: addEventListener call only once 
Javascript :: flatlist onrefresh react native 
Javascript :: jquery remove option from select 
Javascript :: Javascript Regex for non-negative numbers 
Javascript :: javascript fill array from 0 to n 
Javascript :: get last string after / in javascript 
Javascript :: javascript clear radio button 
Javascript :: latin science words 
Javascript :: example of pre increment in js 
Javascript :: compare 2 array element 
Javascript :: get number of days between two dates mongodb query 
Javascript :: Internet Speed Checker JavaScript 
Javascript :: read file size javascript 
Javascript :: js loop an array 
Javascript :: delay input javascript 
Javascript :: how to debug jest test vscode 
Javascript :: js reduce break 
Javascript :: ternary operator in angular 
Javascript :: Removing Service Workers Programmatically 
Javascript :: javascript array reorder elements 
Javascript :: javascript format number 2 digits 
Javascript :: remove comma from number javascript 
Javascript :: js string to array 
Javascript :: javascript style font size 
Javascript :: how to delete element in list javascript 
Javascript :: javascript random 4 digit number 
Javascript :: Min Stack Algorithm JS 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =