I have the following: <script type="text/javascript"> function CancelFormButton(button) { $(button.form).submit(); } </script> <form onsubmit="alert('here');"> <input type="button" value="Cancel" onClick="CancelFormButton(this);" /> </form> When I click the "Cancel" button, the onsubmit from the form tag is not triggered. This line instead submits the form successfully: $(button.form).submit(); bu