A qualifier is a sort of tag used to identify checkboxes and buttons. When using buttons to select checkboxes containing certain qualifiers,
like say "junk" for example, all checkboxes with the qualifier "junk" will be selected.
Qualifiers should be in a valid JSON array format, therefor each qualifier in the array must be in double quotes, and all wrapped in one set of square brackets.
Because of escaping, the string containing the array must be wrapped in single quotes, as shown below:
If the JSON array format is not followed for the data attribute 'data-qualifiers' the plugin will likely not work.
Each checkbox should have the attribute data-qualifiers, if you have no qualifiers for the attribute, then use empty brackets to ensure it is still a valid JSON style array like so.
Remember, do not wrap the array in double quotes, otherwise it will not work.
Below, is an example, of dropdown menu, done in the twitter-bootstrap style, each link has the attribute 'data-qualifier', and one 'data-select-none' attribute.
The data-qualifier on any link or button, will find and select all checkboxes within the container and check them off once clicked.
The value can be either a valid JSON array, or a string, the plugin will handle the rest.
As long as the qualifier stated can be found in one or more of the checkboxes they will be ticked off.
Note also, the 'data-select-none' can be used to deselect all checkboxes.
Bootstrapping
If you want to kick off the plugin in some other way than the data-checkboxes attribute within a containing element, use the following and substitute the selector of your choosing: