reset() reset() resets the form to its initial state. Syntax form.reset() Parameters None. Example document.forms["myform"].reset(); Notes This method is the same as the form reset button. Specification reset
reset() resets the form to its initial state.
form.reset()
None.
document.forms["myform"].reset();
This method is the same as the form reset button.
reset