I have the following jQuery:
$("form").submit(function() {
//DO STUFF HERE
});
But, it’s not detecting/catching/handling the submit that’s happening in this JavaScript
document.form1.submit()
Seems super straightforward. I’m sure it’s something simple/stupid on my part. Thanks in advance.
jQuery only catches default browser behaviour, like a click on a submit button, and events that were added by jQuery itself…