August 2006
Intermediate to advanced
1018 pages
34h 13m
English
Form.onreset: event handler invoked when a form is reset — DOM Level 0
Function onreset
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.
Element.addEventListener(
), Form.onsubmit,
Form.reset( ); Chapter 17
Read now
Unlock full access