Nakshathra Nakshathra - 1 year ago 59
Javascript Question

How do I redirect with Javascript?

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

Answer Source

To redirect to another page, you can use:

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