August 1999
Intermediate to advanced
1488 pages
72h 53m
English
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.
In Listing 7.37, the user is asked to select the door style wanted on his or her new car. When the order is submitted, the checked property of each check box is analyzed to determine if two different door styles were selected or none at all. If two styles were selected, the check boxes are reset by altering the checked property.
<html> <h2>Car Purchase Sheet</h2> Step1: Please ... |
Read now
Unlock full access