class method Form.reset
Form.reset(form) → Element
Resets a form to its default values.
Form.reset('contact') // equivalent: $('contact').reset() // both have the same effect as pressing the reset button
This method allows you to programatically reset a form. It is a wrapper
reset() method native to
This method can be called either as an instance method or as a generic method. If calling as a generic, pass the instance in as the first argument.