How to get CheckBox status whether it is checked or not?
Interview question and answer by:
Raja | Posted on: 6/29/2008 | Category:
JavaScript Interview questions | Views: 6153 |
Answer:
Write following code
alert(document.getElementById('checkbox1').checked);
if it will be checked you will get true else false.
Asked In: Many Interviews
|
Alert Moderator
Found interesting? Add this to: