August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.form.checkbox.handleEvent(event)
The handleEvent() method provides a way to invoke a check box's event handler, even though the event never happened. The argument associated with this method is listed in Table 7.8.
| Argument | Description |
|---|---|
| event | An Event object to be handled |
In Listing 7.42, the user is asked to select the engine wanted in his or her new car. If the user selects the V6 engine, the user is alerted that the V6 has lots of power. If the 4 cylinder is selected, a message is posted to encourage the user to consider the V6. The click event is passed to the first check box via the handleEvent() ...
Read now
Unlock full access