input (type="checkbox") | Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1 |
| |
The checkbox object is a form control generated
with an input element whose
type attribute is set to
"checkbox". Employ this element only as a user
interface element for user on-off choices, not as a navigation
button. In IE 5 and later for Windows and in Netscape 6, you can
adjust the size of the checkbox via style sheet height and width
attributes, but only Netscape 6 automatically scales the size of the
checkmark optimized for the checkbox rectangle's
size and keeps the baselines of surrounding text aligned with the
rectangle's bottom.
|
|
HTML Equivalent |
|
<input type="checkbox">
|
|
Object Model Reference |
|
[window.]document.formName.elementName
[window.]document.forms[i].elements[i]
[window.]document.getElementById("elementID")
|
|
Object-Specific Properties |
|
|
|
Object-Specific Methods |
|
|
|
Object-Specific Event Handler Properties |
|
|