w2form.clear

Resets the form.
clear()
Returns undefined.

Description

Clears .record object, sets .recid to 0, removes all tags and resets fields on the screen to a blank state. If you have the form defined in the following way: You can do

User Comments

comments powered by Disqus