Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

how can we open page on new tab in angular or js or typescript

This can be done by following code snippt:

let link='google.com';
window.open(link,"_blank");
Comment

PREVIOUS NEXT
Code Example
Javascript :: Factorialize a Number 
Javascript :: vscode js intellisence not working 
Javascript :: local vs global variables 
Javascript :: js date to timestamp 
Javascript :: how to add element to an object 
Javascript :: discord.js presence update 
Javascript :: Substring in Javascript using substring 
Javascript :: divide symbol javascript 
Javascript :: ajax response length 
Javascript :: data table is not a function in vue 
Javascript :: angularjs onclick disable button click 
Javascript :: redux react redux 
Javascript :: node check if internet 
Javascript :: set body id js 
Javascript :: react context api with hooks 
Javascript :: js convert string to date 
Javascript :: camelcase 
Javascript :: javascript read consol input 
Javascript :: component vs container react 
Javascript :: .foreach in javascript 
Javascript :: javascript find matching elements in two arrays 
Javascript :: node.js check if a remote URL exists 
Javascript :: express.js get params 
Javascript :: react arrow function component 
Javascript :: java script zip function 
Javascript :: sweetalert question 
Javascript :: remove trailing zeros javascript 
Javascript :: javascript check if in array 
Javascript :: js highest number in array 
Javascript :: mongoose filter 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =