Does submitHandler add/modify the form element? I have a simple form
with a button and a required checkbox.

Form element outside of submitHandler:
var_dump($('#formid').get(0).myButton);
=> a regular HTMLButtonElement as expected

Form element inside of submitHandler:
submitHandler: function(f) {var_dump(f.myButton);}
=> become an array of two, one is HTMLButtonElement one is an empty
HTMLInputElement (with no value, which create a big problem for the
form submission)

Anyone knows enough about the internal working to clarify? Thanks.

Reply via email to