> I expected that calling click() on a submit button would trigger a > form's submit handler, but this doesn't seem to be the case. > > Example: register a jQuery submit handler: > $('form').submit(function() { alert('jquery submit handler'); }); > > Then click the corresponding submit button: > $('input[type=submit]').click();
Use 'submit' with no args to submit the form and invoke its handlers: $('form').submit();