Nakshathra Nakshathra - 11 months ago 52
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";