handler : function() {
myform.getForm().submit({
url : 'http://www.baiud.com',
waitMsg : '正在保存·····',
method: 'POST',
timeout: 10000,
success : function(form, action) {
Ext.Msg.alert("success!");
},
failure : function() {
Ext.Msg.alert("failure!", "失败");
}
});
}
先粘上代码,
问下,为什么submit提交成功后,success 里的方法不运行。
失败后failure ,会运行 。在线等。
myform.getForm().submit({
url : 'http://www.baiud.com',
waitMsg : '正在保存·····',
method: 'POST',
timeout: 10000,
success : function(form, action) {
Ext.Msg.alert("success!");
},
failure : function() {
Ext.Msg.alert("failure!", "失败");
}
});
}
先粘上代码,
问下,为什么submit提交成功后,success 里的方法不运行。
失败后failure ,会运行 。在线等。
1770

被折叠的 条评论
为什么被折叠?



