×

Welcome to TagMyCode

Please login or create account to add a snippet.
1
0
 
0
Language: Javascript
Posted by: Massimo Zappino
Added: Jan 22, 2011 11:01 AM
Modified: Jun 14, 2011 8:00 AM
Views: 109
Tags: redirect
  1. <script type="text/javascript">
  2. <!--
  3.   location.href = "http://www.google.com/";
  4.  
  5.   // or
  6.   // location.replace("http://www.google.com");
  7. //-->
  8. </script>