checkbox (JavaScript 1.0)
A box that the user can check. For groups of checkboxes, users may select multiple checkboxes.
Properties & Events
Key | Description | Availability |
---|
checked | Returns true if the checkbox is checked. False if the checkbox is not checked. | |
defaultchecked | Returns true if the checkbox is checked by default. | |
value | Specifies a string value for when the checkbox is checked. | |
onclick | Event handler for when the checkbox is clicked. | |
| |
Result from the Online TryIt-Editor |
|
|
|