/

HTML / CSS / JavaScript Tutorial

JavaScript form object method: reset()

[this page | pdf | back links]

The reset() method of the JavaScript DOM object corresponding to the HTML <form> element resets the <form>.

 

It has the following syntax with no parameters.

 

formObject.reset()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile