Ext.Ajax.request
2013-03-17 16:56
204 查看
Ext.Ajax.request({
method : 'post',
url : paths + '/hospBase.do?method=getSumMoney',
params : {
hbiId : value,
hdiFlag : '9'
},
success : function(response) {
var responseArray = Ext.util.JSON.decode(response.responseText);
if (!responseArray.success) {
Ext.Msg.alert(alertPath, '加载总费用失败或该病人没有产生费用!');
clearValue();
} else {
localSumMoney = responseArray.msg;
return true;
}
},
failure : function() {
Ext.Msg.alert(alertPath, '加载总费用失败或该病人没有产生费用!');
}
});
method : 'post',
url : paths + '/hospBase.do?method=getSumMoney',
params : {
hbiId : value,
hdiFlag : '9'
},
success : function(response) {
var responseArray = Ext.util.JSON.decode(response.responseText);
if (!responseArray.success) {
Ext.Msg.alert(alertPath, '加载总费用失败或该病人没有产生费用!');
clearValue();
} else {
localSumMoney = responseArray.msg;
return true;
}
},
failure : function() {
Ext.Msg.alert(alertPath, '加载总费用失败或该病人没有产生费用!');
}
});
相关文章推荐
- Ext.Ajax.request同步请求 非ext-basex.js方法
- Ext Ajax:如何调用Ext.Ajax.request方法和使用Java Servlet进行处理
- ExtJS之Ext.Ajax.request用法待分析
- Ext.Ajax.request和formPanel.getForm().submit两种提交方法的异同
- ExtJS之Ext.Ajax.request用法详解
- Ext.FormPanel 提交和 Ext.Ajax.request 异步提交函数的区别
- Ext.Ajax.request同步请求
- Extjs form.submit()提交与Ext.Ajax.request的区别
- ExtJS中Ext.Ajax.request与form1.getForm().submit的基本区别
- Ext.Ajax.request 与FormPanel.form.submit
- ext panel的使用 以及ext.ajax.request的使用
- 【转】Ext.Ajax.request 与formPanel.getForm().submit() success的区别
- Ext FormPanel submit 提交success 与Ext.Ajax.request提交的success 区别
- extJS提交form表单数据的方式: Ext.Ajax.request,form.submit,getEl().dom.submit()
- ext.ajax.request
- Ext.Ajax.request正请求后台数据时…
- Ext.Ajax.request和formPanel.getForm().submit() success的区别
- Ext.Ajax. request
- Ext.Ajax.request前后台交互
- ExtJS中Ext.Ajax.request与form1.getForm().submit