> That could also be written as: $("form :input").val("");

I wouldn't recommend that because :input will grab all inputs
*including* type==submit and type==button.  Clearing those is probably
not what you'd want to do.

I think maybe the form plugin needs to provide clearForm and resetForm
methods and perhaps options to perform these functions automatically
upon successful submit.

Mike

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to