在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"
});
答案 0 :(得分:0)
找到解决方案...导入的自定义js库正在与原型js产生混淆,谢谢!