reset

  • Revision slug: Mozilla_event_reference/reset_(event)
  • Revision title: reset
  • Revision id: 291530
  • Created:
  • Creator: lmorchard
  • Is current revision? No
  • Comment

Revision Content

The change event is fired when a form is reset.

General info

Specification
HTML5
Interface
HTMLEvent
Synchronicity
synchronous
Bubbles
Yes (although specified as a simple event that doesn't bubble)
Cancelable
Yes
Target
Element
Default Action
Reset the value of all elements of the parent form.

Properties

{{OpenEventProperties()}}{{CloseEventProperties()}}

Revision Source

<p>The <code>change</code> event is fired when a form is reset.</p>
<h2 id="General_info">General info</h2>
<dl>
  <dt style="float: left; text-align: right; width: 120px;">
    Specification</dt>
  <dd style="margin: 0 0 0 120px;">
    <a class="external" href="http://dev.w3.org/html5/spec/form-submission.html#concept-form-reset">HTML5</a></dd>
  <dt style="float: left; text-align: right; width: 120px;">
    Interface</dt>
  <dd style="margin: 0 0 0 120px;">
    HTMLEvent</dd>
  <dt style="float: left; text-align: right; width: 120px;">
    Synchronicity</dt>
  <dd style="margin: 0 0 0 120px;">
    synchronous</dd>
  <dt style="float: left; text-align: right; width: 120px;">
    Bubbles</dt>
  <dd style="margin: 0 0 0 120px;">
    Yes (although specified as a simple event that doesn't bubble)</dd>
  <dt style="float: left; text-align: right; width: 120px;">
    Cancelable</dt>
  <dd style="margin: 0 0 0 120px;">
    Yes</dd>
  <dt style="float: left; text-align: right; width: 120px;">
    Target</dt>
  <dd style="margin: 0 0 0 120px;">
    Element</dd>
  <dt style="float: left; text-align: right; width: 120px;">
    Default Action</dt>
  <dd style="margin: 0 0 0 120px;">
    Reset the value of all elements of the parent form.</dd>
</dl>
<h2 id="Properties">Properties</h2>
<p>
{{OpenEventProperties()}}{{CloseEventProperties()}}
</p>
Revert to this revision