Help Center

Local Navigation

Object: HTMLButtonElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLButtonElement object represents a <button> element in an HTML document.

The <button> element defines a button form control.

HTMLButtonElement properties

Property name

Type

Description

Status

Availability

accessKey

String

Specifies the key that gives access to the form control.

writable

4.6 or later

disabled

boolean

When true, indicates that the form control is not available.

writable

4.6 or later

form

HTMLFormElement

Returns the parent <form> element for the form control.

read only

4.6 or later

name

String

Specifies the name of the form control. This is the name portion of the name-value pair that is submitted with the form.

writable

4.6 or later

tabIndex

int

Specifies the tabbing order of the form control.

writable

4.6 or later

type

String

Returns the type of form control. The value for this property may be button, reset, or submit.

read only

4.6 or later

value

String

Specifies the current value of the form control. This is the value portion of the name-value pair that is submitted with the form.

writable

4.6 or later

Previous topic: HTMLBRElement properties

Was this information helpful? Send us your comments.