Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

javascript location href target _blank


        window.open('http://www.google.com', '_blank');
Comment

window.location.href target blank

<script type="text/javascript">
$("#site").on('click', function(){
    window.open("http://www.someone.com/","_blank");
});
</script>
Comment

PREVIOUS NEXT
Code Example
Javascript :: image source react native 
Javascript :: js is function 
Javascript :: regex for numbers and decimals only 
Javascript :: react aos 
Javascript :: ec2 yum nodejs 
Javascript :: javascript get random floating number 
Javascript :: update react app 
Javascript :: python convert requests response to json 
Javascript :: create element javascript with id 
Javascript :: javascript convert px to vw 
Javascript :: clone object in js 
Javascript :: jquery show for 5 seconds 
Javascript :: click all buttons on page javascript 
Javascript :: domain regex 
Javascript :: vue deep watch 
Javascript :: each input form jquery 
Javascript :: regex validate money 
Javascript :: javascript add script in head programmatically 
Javascript :: check if parameter is array javascript 
Javascript :: javascript get month name 
Javascript :: javascript length of object 
Javascript :: document on click dynamic element 
Javascript :: remove last character from string js 
Javascript :: moment format date dd/mm/yyyy 
Javascript :: get actual time jquery 
Javascript :: bar chart height and with change in chart.js 
Javascript :: jquery click on parent but not child 
Javascript :: how to connect frontend with solidity 
Javascript :: readable date in javascript 
Javascript :: javascript clear style inline property 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =