Checkbox.value (Property)

The text string for this particular checkbox object.

Availability:

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

This value is returned to the server during a submit only if the checked state for this radio button is on.

Warnings:

See also:Input.value