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




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net