Form JavaScript Tutorial

Syntax

document.form.checkbox.defaultChecked
The defaultChecked property holds the initial state of a check box as defined by the checked attribute of the tag.
It is a read-only Boolean value.


    
      4 doors

      2 doors

      Step 2: