APIdia Launch Partner
Top Description Methods
org.w3c.dom.html

public Interface HTMLButtonElement

extends HTMLElement

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

See also the Document Object Model (DOM) Level 2 Specification.

Since
1.4, DOM Level 2

Method Summary

Modifier and TypeMethod and Description
public String
getAccessKey()

A single character access key to give access to the form control.

public boolean
getDisabled()

The control is unavailable in this context.

public HTMLFormElement
getForm()

Returns the FORM element containing this control.

public String
getName()

Form control or object name when submitted with a form.

public int
getTabIndex()

Index that represents the element's position in the tabbing order.

public String
getType()

The type of button.

public String
getValue()

The current form control value.

public void
setAccessKey(String accessKey)

public void
setDisabled(boolean disabled)

public void
public void
setTabIndex(int tabIndex)

public void
Inherited from org.w3c.dom.html.HTMLElement:
getClassNamegetDirgetIdgetLanggetTitlesetClassNamesetDirsetIdsetLangsetTitle

Method Detail

getAccessKeyback to summary
public String getAccessKey()

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

getDisabledback to summary
public boolean getDisabled()

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

getFormback to summary
public HTMLFormElement getForm()

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

getNameback to summary
public String getName()

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

getTabIndexback to summary
public int getTabIndex()

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

getTypeback to summary
public String getType()

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

getValueback to summary
public String getValue()

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

setAccessKeyback to summary
public void setAccessKey(String accessKey)
setDisabledback to summary
public void setDisabled(boolean disabled)
setNameback to summary
public void setName(String name)
setTabIndexback to summary
public void setTabIndex(int tabIndex)
setValueback to summary
public void setValue(String value)