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 } });
脚步
>单击“提交”按钮发送请求并成功获得响应
>再次点击提交按钮…请求永不发送…
感谢任何帮助
dojo.io.iframe._currentDfd = null; //insert this line dojo.io.iframe.send ({...
*已在Chrome版本25.0.1364.152 m中验证
资料来源:http://mail.dojotoolkit.org/pipermail/dojo-interest/2012-May/066109.html