The status can be acquired as follows –
alert(document.getElementById('checkbox1').checked);
If the CheckBox is checked, this alert will return TRUE.
The status can be acquired as follows –
alert(document.getElementById('checkbox1').checked);
If the CheckBox is checked, this alert will return TRUE.