Skip to main content
Skip table of contents

checked

An HTML content command for setting or removing the "checked" attribute on an HTML element.

The value of this command's primary attribute is interpreted as a Boolean value. If the value resolves into true, the "checked" attribute is set. Otherwise the attribute is not set, or removed if the host element currently has it.

This command has a priority of 15.

Examples

The checked command doesn't do much in other elements besides input elements of the type "checkbox". If its primary attribute resolves into true, the checkbox will appear as checked, otherwise not.

CODE
<input name="checked" type="checkbox" dyn-checked="initiallyChecked"/>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.