w2form.clear

Clears entire form or specified fields.
clear([field1, field2, ...])
Returns undefined.

Description

If no arguments are provided, clears .record object, sets .recid to 0, removes all tags and resets fields on the screen to a blank state.
If arguments are provided, only those fields are cleared.
If you have the form defined in the following way: You can do Or

User Comments

comments powered by Disqus