I've included a "Cancel" button on a form that posts to an ASP page for processing, and which uses JavaScript for form validation. The "Cancel" button uses the following code:
<input type = button onclick='javascript: history.back(1)' value="cancel">
When I click on the button, however, nothing happens. I've used several variations on the code above, and can't get it to work. Does anyone have any ideas?
Thanks!
<input type = button onclick='javascript: history.back(1)' value="cancel">
When I click on the button, however, nothing happens. I've used several variations on the code above, and can't get it to work. Does anyone have any ideas?
Thanks!