Availability: |
| ||||||
Property/method value type: | Boolean primitive | ||||||
JavaScript syntax: | - | myObject.onreset = aHandler | |||||
HTML syntax: | <FORM onReset="..."> <HTMLTag onReset="..."> | ||||||
Argument list: | aHandler | A reference to a function object to handle the event |
As the <FORM> reset button is clicked, this event is triggered. If you return the value true, the event will be passed to the browser for further processing and the form will be reset. Returning false inhibits this action and discards the message, and the form will not be reset. This provides a means of inhibiting <FORM> resets altogether.
Prev | Home | Next |
onReadyStateChange | Up | onResize |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |