Expert Developer JavaScript Question:
What is the way to get the status of a CheckBox?
Answer:
The status can be acquired as follows -
alert(document.getElementById('checkbox1').checked);
If the CheckBox will be checked, this alert will return TRUE.
alert(document.getElementById('checkbox1').checked);
If the CheckBox will be checked, this alert will return TRUE.
Previous Question | Next Question |
What do mean by NULL in JavaScript? | Why JavaScript is called as Script for all browsers? |