combobox数据加载完后设置默认值 $('#ck').combobox({ url: '/External/GetAllCk', valueField: 'Ddbh', textField: 'Ddmc', onLoadSuccess: function () { //加载完成后,设置选中第一项 var val = $(this).combobox("getData"); for (var item in val[0]) { if (item == "Ddbh"…
combobox的内容是从后台获取的json, js截取: var data = $('#id').combobox('getData'); $("#id ").combobox('select',data[0].**); 例子: var data = $('#serviceStatus').combobox('getData'); $('#serviceStatus').combobox('select',data[0].value);…