A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/form/api/checkbox_group/checkboxgroup_ischecked_method/ below:

Website Navigation


JavaScript Form - isChecked Checkbox Group Method

Returns:

Either a boolean value or an object.

If the id of a checkbox is specified, the method returns a boolean value true, if the checkbox is checked; otherwise, false.

If the id of a checkbox is not specified, the method returns an object with a set of key:value pairs where the key is the id of a checkbox and the value is the state of the checkbox.

form.getItem("CheckboxGroup").isChecked("checkbox_id_3");
// -> true/false

form.getItem("CheckboxGroup").isChecked();
// -> { "checkbox_id_1": true, "checkbox_id_2": false }

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4