I am trying to send a user to another page using a Javascript Function:
<
try this!
window.location.replace("http://www.link.com");