How to Clear/Remove JavaScript Event Handler?

To do this without any libraries:

document.getElementById("aspnetForm").onsubmit = null;

Leave a Comment