[jQuery] Overriding form submissions in a way that deals with this.form.submit()
Hi everyone,
I'm using Jquery to override form submits, i.e:
var tabsForms=$('#'+el.id+' form');
tabsForms.submit(function(){ ...
Pressing submit works fine with this approach, but there's existing
code in the form inputs, such as onclick=this.form.submit.
When the form is submitted this way, it seems that the submit() event
I created via JQuery is ignored, and the form submits normally.
I can't change the zillion examples of this in my existing pages - so
how can I make this.form.submit() submit just like pressing the submit
button now does?
Thanks in advance!