Click to return to the DHTML, HTML     
onreadystatechange Event     onresize Event     DHTML Events    
Web Workshop  |  DHTML, HTML & CSS

onreset Event


Fires when a user resets a form.

Syntax

Inline HTML<FORM onreset = "handler" ... >All platforms
Event propertyform.onreset = handlerJScript (compatible with ECMA 262 language specification) only
Named script<SCRIPT FOR = form EVENT = onreset>Internet Explorer only

Remarks

BubblesNo
CancelsYes
To invoke
  • Click a Reset button.
  • Invoke the reset method of the FORM object.
  • Refresh the page.
Default action Executes associated code.

Event Object Properties

Although event handlers in the DHTML Object Model do not receive parameters directly, the handler can query the event object for data.

Event Object Properties

returnValueSets or retrieves the return value from the event.
srcElementRetrieves the object that fired the event.
typeRetrieves the event name from the event object.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

FORM

See Also

reset



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.