Code Snippet Submit one! Home » Code Snippets » JavaScript » Redirect Redirect <script type="text/javascript"> <!-- window.location = "http://www.google.com/" //--> </script>
user
location.href = ‘http://www.google.com’
or
location.replace(‘http://www.google.com’);
agreed!