<input id="ntype" id="ntype" name="ntype" value="${NewsContent.type}" class="easyui-combotree" required="true" style="width:200px;"> 指定了初始值,但页面加载完后,combotree文本框的值自动变成下拉树的第一项,怎么可以保证加载完后,初始的值不变.$(function(){
$('#ntype').combotree({
url:'/select_tree/getTreeInfo_getList.do'
});
});
combotree 的数据是异步加载数据的。
$('#ntype').combotree({
url:'/select_tree/getTreeInfo_getList.do'
});
});
combotree 的数据是异步加载数据的。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货