Scott
0
Q:

javascript redirect browser

window.location.href = "http://mywebsite.com/home.html";
34
<script>
  window.location.href = "http://mywebsite.com/home.html";
</script>
12
// Simulate a mouse click:
window.location.href = "http://www.w3schools.com";

// Simulate an HTTP redirect:
window.location.replace("http://www.w3schools.com");
4

New to Communities?

Join the community