Ext.Ajax.request({
url : 'addNormalModelAction.shtml',
params: params,
success: function(resp,opts) {
var respText = Ext.util.JSON.decode(resp.responseText);
varresult = respText.result;
Ext.Msg.alert('提示',result);
var resultCode = respText.resultCode;
},
failure: function(resp,opts) {
var respText = Ext.util.JSON.decode(resp.responseText);
Ext.Msg.alert('错误',respText.message);
}
})
原文链接:https://www.f2er.com/ajax/165837.html