What is the way to get the status of a CheckBox?

0

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

asked Apr 14, 2023 at 19:51
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.