July 1998
Intermediate to advanced
1456 pages
65h 5m
English
defaultChecked — NN 2 IE 3 DOM 1
Read/Write
Whether the element has the CHECKED attribute set
in the tag. You can compare the current checked
property against defaultChecked to see whether the
state of the control has changed since the document loaded. Changing
this property does not affect the current checked
status.
var cBox = document.forms[0].checkbox1
if (cBox.checked != cBox.defaultChecked) {
process for changed state
}Boolean value: true | false.
Determined by HTML tag attribute.
Read now
Unlock full access