다음을 통해 공유


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

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