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