Answer: With the help of checked property of checkbox,we can check whether it is checked or not.
It returns true or false.
For Example:-
alert(document.getElementById('chk_employee_active').checked);
<asp:CheckBox ID="chk_employee_active" runat="server" />
Asked In: Many Interviews |
Alert Moderator