Jacobb123
01-03-2008, 07:04 PM
I am trying to redirect a user a different page when a button is clicked but instead of redirecting like I want it submits the form. Can someone tell me the correct way to do this?
here is my code
<button onclick="location.replace("http://google.com");">Cancel</button>
here is my code
<button onclick="location.replace("http://google.com");">Cancel</button>