yangfan5314的专栏通过本文主要向大家介绍了easyui等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
2、请求完数据回调方法:
<input class="easyui-combobox"
style="width:200px"
id="jmslx"
name="jmslx"
data-options="
url:'<%=basePath%>json/jmslxb_list.action',
method:'get',
valueField:'name',
textField:'name',
panelHeight:'auto',
onLoadSuccess:function(data){
//设置默认值
$('#jmslx').combobox('setValue','请选择');
//默认选择combobox的第二项 id=2
$(this).combobox('select', 2);
}">