Usage


<script type='text/javascript'>
  jQuery(function() {
    $('div.chosentree').chosentree({
      width: 500,
      deepLoad: 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="chosentree"></div>