Checkbox.checked (Property)

The state of the checkbox is maintained in this property.

Availability:

DOM level - 1
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Opera - 3.0
Property/method value type:Boolean primitive
JavaScript syntax:-myCheckbox.checked
HTML syntax:<INPUT CHECKED>

If the checkbox has a mark in it (depending on the UI display appearance guidelines, this may be a tick or a cross), then this value will return true. Otherwise it will return false.