Button.type (Property)

The type value for the object.

Availability:

DOM level - 1
JavaScript - 1.1
JScript - 1.0
Internet Explorer - 3.02
Netscape - 3.0
Opera - 3.0
Property/method value type:String primitive
JavaScript syntax:-myButton.type
HTML syntax:<INPUT TYPE="button">

The value of this property will be "button" when the <INPUT> HTML tag describes a form Button object.

See also:Input.type

Property attributes:

ReadOnly.