标签:
代码在updateHmis的历史记录中,此处存档
handler : function() { //显示进度条 Ext.MessageBox.wait(‘数据上传中...‘,‘提示‘); //上传数据 updateService.UpdateHmis({ callback:function(result){ //隐藏窗口 Ext.MessageBox.hide(); //显示传输结果 alert(result); //重载窗口 window.location.reload(); },async:true }); }
关键:异步、callback函数
标签:
原文地址:http://www.cnblogs.com/otio/p/4486747.html