Given the following HTML fragment:
<form id="aspnetForm" onsubmit="alert('On Submit Run!'); return true;">
I need to remove/clear the handler for the onsubmit event and register my own using jQuery or any other flavor of JavaScript usage.
See Question&Answers more detail:os