jQuery nested checkboxes – Deep Checkbox plugin

A small jQuery plugin, that brings some logic to nested checkboxes.

Make jQuery nested checkboxes quickly

Imagine multidimensional list with checkboxes. They are nested in “li” elements. Child-checkboxes are inherit parent’s property, so when checking or unchecking a parent checkbox, Deep Checkbox will automatically check or uncheck all child elements as well.

Users can also select or deselect just specific items, and the plugin will be able to tell what items are actually selected in your complex tree hierarchy and where are they place inside the branches.

Besides this check/uncheck logic, the Deep Checkbox plugin also provides programmatic functions or getting which items are selected and which were left unchecked or excepted from a previously grouped selection.

jQuery nested checkboxes solution
jQuery nested checkboxes solution

Demo:

http://uoziod.github.io/deep-checkbox

GitHub:

https://github.com/uoziod/deep-checkbox

Related topic @ Stackoverflow:

http://stackoverflow.com/questions/24892315/jquery-check-parent-checkboxes-in-nested-ul-li

Enjoy!

Share:Share on Facebook1Share on Google+0Tweet about this on TwitterShare on LinkedIn1Pin on Pinterest1