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
- The form attribute returns the FORM containing this control.
- The accessKey attribute is a single character access key to give access to the form control.
- The disabled attribute indicates that this control is not available in this context.
- The name attribute is the form control or object name when submitted with a form.
- The tabIndex attribute is an index that represents the element's position in the tabbing order.
- The type attribute is the type of button.
- The value attribute is the current form control value.
If you have comments or suggestions, email me at mbrady@nist.gov