JavaScript » Form » reset

Syntax:
object.reset( )

This method resets the default values of any elements in a form. Emulates the clicking of a Reset button (athough it is not necessary to have a reset button in a form to use this method).