reset()

This methos is used to reset all form values to the intial default values. This method has the same functionality as a reset button specified as part of the FORM element.

syntax:

reset()

This method is used with the following:

FORM