Guntur N. Sarwohadi schrieb:
> >from what i know, the closest is using the 'each' method.. like:
>
> $("form")
> .children()
> .each(function() {
>      $(this).val("");
> });
That could also be written as: $("form :input").val("");

A bit more useful in case you need to empty all fields, not only reset 
to default values.

-- 
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to