All posts

Javascript

 

How to redirect to another web page using Javascript

 

Learn how to redirect to another page using Javascript.

window.location.href = "http://xyz.com/page";

If you want to open the page in a new window use:

window.open("http://xyz.com/page");

Nice and simple.

posted on 2012-06-01 00:00:00 UTC

TopicSandbox
TagsJavascript
Read more