在Chrome中ajax responsetext blank / empty工作正常

时间:2016-12-19 22:53:22

标签: ajax responsetext

在chrome控制台中接收status = 200 statustext = OK 警告“onSuccess”在IE中工作但不在CHROME中

new Ajax.Request("downstocking_apply_async.do", {
                onSuccess : function(transport) {
                alert("onSuccess");
                if (!isHangingRequest()){ 
                    initUpdateScanArea(transport.responseText);
                }else{
                    doSuspend();

                }},
                onFailure : function(transport) {
                if (!isHangingRequest()){ 
                    document.downstockingForm.action = "downstocking_apply_async.do?" + param;
                    document.downstockingForm.submit();
                }else{
                    doSuspend();

                } 
             },
             parameters : param,
             asynchronous : "true"
          }); 

1 个答案:

答案 0 :(得分:0)

找到解决方案...导入的自定义js库正在与原型js产生混淆,谢谢!