Google News
logo
JavaScript - Interview Questions
What is the way to get the status of a CheckBox?
The status can be acquired as follows  : 
 
alert(document.getElementById('checkbox1').checked);
 
If the CheckBox will be checked, this alert will return TRUE.
Advertisement