Dave Partner

Javascript Tutorial - 25 - Page Redirection

  • 0 Replies
  • 199 Views

0 Members and 1 Guest are viewing this topic.

*

Offline Dave Partner

  • Administrator
  • Full Member
  • *****
  • 109
    • View Profile
Javascript Tutorial - 25 - Page Redirection
« on: January 03, 2017, 06:20:08 AM »
&index=24
<html>
   <head>
      <title></title>
   </head>
   <body>
      <script type="text/javascript" >
         /*
            PAGE REDIRECTION
           
         */
         
          function anythingRedirect(){
             window.location = "http://davepartner.com";
          }
         
      </script>
     
     
      <button onclick="anythingRedirect();"> Click here to visit DavePartner.com </button>
     
   </body>
</html>
« Last Edit: January 03, 2017, 01:49:31 PM by Dave Partner »