JavaScript Reference/Event Handlers Reference/onReset
Содержание
"onReset" Example
<source lang="javascript">
<html> <body>
Input some text in the text field below.
<form name="form1"
method="post" action="" onreset="alert("The form is being reset")"> <input type="text" value=""> <input type="reset" value="Reset">
</form> </body> </html>
</source>
"onReset" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<form> | +----------------+--------------------------------------------------------------+
</source>
"onReset" Properties
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Properties |altKey altLeft | | |ctrlLeft returnValue | | |shiftLeft srcElement | | |type | +----------------+--------------------------------------------------------------+
</source>
"onReset" Syntax and Note
<source lang="javascript">
Note:
This event fires when the form is reset.
</source>