I know its a bit too late, but nevertheless, there is a plugin that may save you some future headache. The Form De-serialize plugin does what you need and a bit more. You can pass a JSON data structure (hash) to the deserialize plugin and it goes and sets / resets the values of all elements of the form.
The plugin is listed in jquery.com/plugins
Regards
Ashutosh
On 11/11/06, Truppe Steven <
[EMAIL PROTECTED]> wrote:
Hello,
i need a function that goes through all elements of my form and removes
the content of my textfields/inputs. Is there a way of doing this with a
jQuery oneliner ?
best regards,
Truppe Steven
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
