日期:2014-05-16 浏览次数:20489 次
combo.on('select',
function(comboBox) {
text1.setValue(comboBox.getValue());
Ext.Ajax.request({
url: '后台查询程序',
params: {参数名: 参数值比如comboBox.getValue(),
其它参数名值对
},
method: 'POST',
callback: function(options, success, response) {
if (success) {
text2.setValue(response.responseText); //根据你返回的数据进行处理并赋值
}
}
});
});