When I use the DOM form submit method to submit a form, the jQuery submit event handler isn't called, even though w3c says: "It performs the same action as a submit button."
I tried with jQuery 1.11.0 and 2.1.0.
<form id="form">
<button type="button" onclick="document.getElementById('form').submit()">submit onClick</button>
</form>
See http://jsfiddle.net/g0kxmdmw/6/ for a full example.
In both Firefox and Chrome, pressing enter in the text input, clicking "submit button" and "submit jquery" will all trigger the handler and cancel the form submit, while "submit onClick" and "submit js dom" don't trigger the handler, and will perform the submit (a GET request).
I expected that calling the submit method would show the same behaviour as clicking a submit button, but it doesn't. Is this a bug in jQuery?