Will, When I clicked on the button I saw two alert boxes. I did this in IE and Firefox. Was the the result you wanted?
On Jul 9, 4:46 am, Will Moffat <[EMAIL PROTECTED]> wrote: > 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(); > > The submit handler isn't fired. > > Live > example:http://mqlx.com/~willmoffat/learn_feature/jquery/click_submit.html > > Is this a bug or a feature? > regards, > --Will