示例代码段 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 callba
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 } });
脚步
>单击“提交”按钮发送请求并成功获得响应
>再次点击提交按钮…请求永不发送…
感谢任何帮助
我不能谈论1.8,但我使用的是dojo 1.6并且遇到了一个非常类似的问题,我用以下方法解决了这个问题: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