Monday, November 2, 2009

Section 25.134. Form.onreset: event handler invoked when a form is reset










25.134. Form.onreset: event handler invoked when a form is reset


DOM Level 0



25.134.1. Synopsis



Function onreset





25.134.2. Description


The 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 Also


Element.addEventListener( ), Form.onsubmit, Form.reset( ); Chapter 17













No comments: