25.134. Form.onreset: event handler invoked when a form is resetDOM Level 025.134.1. SynopsisFunction onreset 25.134.2. DescriptionThe onreset property of a Form object specifies an event-handler function that is invoked when the user clicks on a Reset button in the form. Note that this handler is not invoked in response to the Form.reset( ) method. If the onreset handler returns false, the elements of the form are not reset. See Element.addEventListener( ) for another way to register event handlers. 25.134.3. See AlsoElement.addEventListener( ), Form.onsubmit, Form.reset( ); Chapter 17 |