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_getvalue_method/ below:

JavaScript Form - getValue Checkbox Group Method

Returns:

If the id of a checkbox is specified, the method returns either a string with the current value of the checkbox, or a boolean value with the state of the checkbox.

If the id of a checkbox is not specified, the method returns an object with the current values/states of checkboxes. The object contains a set of key:value pairs where the key is the id of a checkbox and the value is either the value of a checkbox or its state (if the value attribute is not specified for the checkbox).


form.getItem("CheckboxGroup").getValue("checkbox_id_1");


form.getItem("CheckboxGroup").getValue("checkbox_id_2");


form.getItem("CheckboxGroup").getValue();


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