jquery easyui combobox设置默认选中第一项
combobox的内容是从后台获取的json,
js截取:
var data = $('#id').combobox('getData');
$("#id ").combobox('select',data[0].**);
例子:
var data = $('#serviceStatus').combobox('getData');
$('#serviceStatus').combobox('select',data[0].value);