Checkbox.type (Property)

The type value for the <INPUT> tag that describes the form checkbox.

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:-myCheckbox.type
HTML syntax:<INPUT TYPE="CHECKBOX">

The type value for a checkbox is always "checkbox". This value is necessary to determine the type of form element because this object is really an instance of the Input class and not the Checkbox class. There is actually no Checkbox class.

See also:Input.type

Property attributes:

ReadOnly.