combobox的内容是从后台获取的json,
js截取:
var data = $('#id').combobox('getData');
$("#id ").combobox('select',data[0].**);
例子:
var data = $('#serviceStatus').combobox('getData');
$('#serviceStatus').combobox('select',data[0].value);
combobox的内容是从后台获取的json,
js截取:
var data = $('#id').combobox('getData');
$("#id ").combobox('select',data[0].**);
例子:
var data = $('#serviceStatus').combobox('getData');
$('#serviceStatus').combobox('select',data[0].value);