How do you get the status of a checkbox

Posted by Jennifer | Updated on

You can apply the checked property on the selected checkbox in the DOM. If the value is True means the checkbox is checked otherwise it is unchecked. For example, the below HTML checkbox element can be access using javascript as below,

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers