前台:
<input >).combotree({
required: true
}).combotree("tree").tree({
url: 'tree.ashx?id=0&state=closed',
checkbox: false,
onBeforeExpand: function (node, param) {
$(this).tree('options').url = "tree.ashx?state=open&> node.id;
}
});
</script>