示例代码片段
this._deferred = dojo.io.iframe.send({
url: "/Some/Servie",
method: "post",
handleAs: 'html',
content: {},
load: function(response, ioArgs){
//DO successfull callback
},
error: function(response, ioArgs){
// DO Failer callback
}
});
脚步
- 点击提交按钮发送请求并成功得到响应
- 再次单击提交按钮...请求从不发送...
感谢任何帮助