checked
Summary
Gets or sets whether a check box or a radio button are checked.
Property of dom/HTMLInputElementdom/HTMLInputElement
Syntax
var checked = inputElement.checked;
inputElement.checked = value;
Return Value
Returns an object of type BooleanBoolean
Whether the check box or radio button is checked.
Usage
Use this property to tick a check box or a radio button.