Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

javascript link to another page

window.open("http://mywebsite.com/home.html")
Comment

javascript link to page

<html>    
  <body> 
    
    <input type="submit" onClick="myFunction()"/>
    <script>
      function myFunction() {
        window.location.href="http://programminghead.com";
      }
    </script>
    
  </body>    
</html>
Comment

PREVIOUS NEXT
Code Example
Javascript :: find all the prime numbers in the array 
Javascript :: nextjs link 
Javascript :: prevent page scrolling when a modal is open 
Javascript :: generate a link with javascript 
Javascript :: javascript buffer to file 
Javascript :: calculate jwt expire time 
Javascript :: instance in javascript 
Javascript :: Manage selection fabric js 
Javascript :: how to sort linesin javascript 
Javascript :: .net core json store data type in model oracle 
Javascript :: check for null 
Javascript :: findPotentialLikes javascript 
Javascript :: JavaScript for loop Display a Text Five Times 
Javascript :: javascript Adding Element to the Outer Array 
Javascript :: javascript Tagged Templates 
Javascript :: JavaScript pauses the async function until the promise 
Javascript :: JavaScript Iterables 
Javascript :: alphanumeric without space regex 
Javascript :: code grepper temp email number and password 
Javascript :: javascipt 
Javascript :: set rotation and origin phaser 
Javascript :: phaser set alpha 
Javascript :: School paperwork 
Javascript :: remove text and keep div inside a div jquery 2 
Javascript :: nodejs stream pipeline with custom transform 
Javascript :: white space below image next image 
Javascript :: how to print in html 
Javascript :: sort function explained javascript 
Javascript :: javascript interview questions 
Javascript :: Multiple functions in javascript onclick 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =