Skip to content

Instantly share code, notes, and snippets.

View list-select-collapsible.js
jQuery(function() {
var $ = jQuery;
var bossTypeId = $('.theBoss').attr('id');
$('body')
.on('change', '.checkbox.item', function(e) {
updateSelectedText(e.target);
})
.on('click', '.theBoss li, .theBoss li span', function(e) {
var el = $(e.target).closest('li.tree-parent');
You can’t perform that action at this time.