To redirect to another page, you can use:

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