LINKeRxUA LINKeRxUA - 2 months ago 16
jQuery Question

JQuery "acitree" plugin. How to check/uncheck all?

How to check and uncheck all values from acitree plugin? - this is that plugin
but I can't find method to do something like check all and uncheck all


helps me:

var api = $('#tree').aciTree('api');
var leaves = $("#tree *");
var checkboxes = api.checkboxes(leaves);

checkboxes.each(function (index, item) {
    var $item = $(item);