HTMLButtonElement Interface


The HTMLButtonElement Interface is a push button.
IDL Definition

Interface HTMLButtonElement : HTMLElement {

 readonly  attribute  HTMLFormElement          form;
           attribute  DOMString                accessKey;
           attribute  boolean                  disabled;
           attribute  DOMString                name;
           attribute  long                     tabIndex;
 readonly  attribute  DOMString                type;
           attribute  DOMString                value;
};

Semantic Requirements

  1. The form attribute returns the FORM containing this control.
  2. The accessKey attribute is a single character access key to give access to the form control.
  3. The disabled attribute indicates that this control is not available in this context.
  4. The name attribute is the form control or object name when submitted with a form.
  5. The tabIndex attribute is an index that represents the element's position in the tabbing order.
  6. The type attribute is the type of button.
  7. The value attribute is the current form control value.

If you have comments or suggestions, email me at mbrady@nist.gov