Should jQuery’s $(form).submit(); not trigger onSubmit within the form tag?
Sorry, misunderstood your question. According to Javascript – capturing onsubmit when calling form.submit(): I was recently asked: “Why doesn’t the form.onsubmit event get fired when I submit my form using javascript?” The answer: Current browsers do not adhere to this part of the html specification. The event only fires when it is activated by a … Read more