The latest version of the form plugin has some new features that you
may not be aware of.
New Functions:
resetForm, clearForm and clearInputs
// invokes the form's native 'reset' method
$('#myForm').resetForm();
// clears all (appropriate) fields in the form
$('#myForm').clearForm();
// clears
Mike,
Thanks for clearInputs. Did you resolve the bug in resetForm?
-- Yehuda
On 1/3/07, Mike Alsup [EMAIL PROTECTED] wrote:
The latest version of the form plugin has some new features that you
may not be aware of.
New Functions:
resetForm, clearForm and clearInputs
// invokes the form's
Thanks for clearInputs. Did you resolve the bug in resetForm?
Yes, resetForm does a fn test before invocation (which is a pain in IE
because IE reports that the reset method is an 'object'!)
___
jQuery mailing list
discuss@jquery.com