Nakshathra Nakshathra - 6 months ago 34
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";