Form JavaScript Tutorial

Syntax

document.form.checkbox.checked
The checked property holds the current state of a check box.
Because this property is a read/write Boolean, the state of the check box can be altered by changing this property.


    
      4 doors

      2 doors

      Step 2: