References

Collection of references for web development.

HTML onreset event

Description

Execute JavaScript code when a button with the type attribute set to "reset" is clicked.

Example

<form onreset="myFunction()">
	Name: <input type="text">
	<input type="reset">
</form>