window redirect other page code example Example: javascript redirect <script> window.location.href = "http://mywebsite.com/home.html"; </script>