Usage


<script type='text/javascript'>
  jQuery(function() {
    $('div.chosensearch').chosentree({
      width: 500,
      deepLoad: true,
      inputName: '',
      input_placeholder: 'Search Groups',
      input_type: 'search',
      showtree: true,
      load: function(node, callback) {
        /**
         * This would typically call jQuery.ajax to load a new node
         * on your server where you would return the tree structure
         * for the provided node.
         */
      }
    });
  });
</script>
<div class="chosensearch"></div>