LINKeRxUA LINKeRxUA - 1 year ago 96
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

Answer Source

helps me:

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

checkboxes.each(function (index, item) {
    var $item = $(item);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download