EasyUI ComboTree(树形下拉框) 简单实例
前台:
<input id="cc">
<script type="text/javascript">
$('#cc').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&id=" + node.id; } });
</script>