Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript link to page

<html>    
  <body> 
    
    <input type="submit" onClick="myFunction()"/>
    <script>
      function myFunction() {
        window.location.href="http://programminghead.com";
      }
    </script>
    
  </body>    
</html>
Source by programminghead.com #
 
PREVIOUS NEXT
Tagged: #javascript #link #page
ADD COMMENT
Topic
Name
5+4 =