onreset event

Fires when the user resets a form.

Syntax

HTML Attribute <element onreset = "handler(event)">
Event Property object.onreset = handler;
attachEvent Method object.attachEvent("onreset", handler)
addEventListener Method object.addEventListener("reset", handler, useCapture)

Event information

Synchronous No
Bubbles No
Cancelable Yes

Event handler parameters

  • pEvtObj [in]
    Type: [IHTMLEventObj](aa703876(v=vs.85).md)

Standards information

Remarks

Executes associated code.

To invoke this event, do one of the following:

The pEvtObj parameter is required for the following interfaces:

See also

IHTMLFormElement::reset