# class HTMLButtonElement

###

Module | khtml
Namespace | DOM
Class | HTMLButtonElement
Inherits | DOM::HTMLElement

Push button. See the BUTTON element definition in HTML 4.0.

### methods

- HTMLButtonElement ( )

  returns ctor

- HTMLButtonElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.HTMLButtonElement |

- HTMLButtonElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.Node |

- HTMLButtonElement (impl)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  impl | HTMLButtonElementImpl |

- accessKey ( )

  returns DOM.DOMString

  A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.

- blur ( )

  returns Nothing

  Removes keyboard focus from this element.

- disabled ( )

  returns bool

  The control is unavailable in this context. See the disabled attribute definition in HTML 4.0.

- focus ( )

  returns Nothing

  Gives keyboard focus to this element.

- form ( )

  returns DOM.HTMLFormElement

  Returns the FORM element containing this control. Returns null if this control is not within the context of a form.

- name ( )

  returns DOM.DOMString

  Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0.

- setAccessKey (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see accessKey

- setDisabled (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

  see disabled

- setName (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see name

- setTabIndex (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | long |

  see tabIndex

- setValue (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see value

- tabIndex ( )

  returns long

  Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0.

- type ( )

  returns DOM.DOMString

  The type of button. See the type attribute definition in HTML 4.0.

- value ( )

  returns DOM.DOMString

  The current form control value. See the value attribute definition in HTML 4.0.