Mega Code Archive

 
Categories / JavaScript Tutorial / Location
 

Location replace in action

< html>     <head>         <title>You won't be able to get back here</title>     </head>     <body>         <P>You won't be coming back here.</p>         <script type="text/javascript">             setTimeout(function () {                 location.replace("http://www.rntsoft.com/");             }, 1000);         </script>     </body> </html>