Nakshathra Nakshathra - 3 months ago 6
Javascript Question

How do I redirect with Javascript?

How do you redirect to a page from another page with javascript?

Answer

To redirect to another page, you can use:

window.location = "http://www.yoururl.com";
Comments