$('#comzwcf').combobox({
valueField: 'id',
textField: 'text',
});
$.ajax({
url: '/Provider/HandlerIrregularitiesType.ashx?method=list&type=政务处分',
type: 'post',
success: function (data) {
if (data) {
var themecombo2 = [{ "id": "-1", "text": "请选择" }];
var reldata = eval(data);
for (var i = 0; i < reldata.length; i++) {
themecombo2.push({ "text": reldata[i].text, "id": reldata[i].id });
}
$("#comzwcf").combobox("loadData", themecombo2);
}
}
});