码迷,mamicode.com
首页 > 其他好文 > 详细

EasyUI ComboTree(树形下拉框) 简单实例

时间:2016-05-24 22:34:42      阅读:421      评论:0      收藏:0      [点我收藏+]

标签:

前台:

 

     <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>

 

EasyUI ComboTree(树形下拉框) 简单实例

标签:

原文地址:http://www.cnblogs.com/shenzhenhua/p/5524749.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!