由于错误c00ce56e IN ALL IE VERSION,无法完成操作

时间:2012-12-22 06:03:23

标签: html ajax

我已经使用了ajax功能进行分页。此功能在其他浏览器(FF,CHROME)中正常工作,接受IE浏览器。我在此行后面的错误中显示以下行错误。

Thanx提前

if (req) {
  var th = this;
  req.onreadystatechange = function() {
    var s = req.readyState;
    if (s == 4) {
      // Avoid memory leak by removing closure.
      req.onreadystatechange = th.dummy;
      // Remove possible junk from response.
      var responseText = req.responseText;//Error on this line
      try {
        // Call associated dataReady().
        eval(responseText);
      } catch (e) {
        Subsys_JsHttpRequest_Js.dataReady(id, "JavaScript code generated by backend is invalid!\n"+responseText, null);
      }
    } else {
      th.readyState = s;
      if (th.onreadystatechange) th.onreadystatechange()
    }
  };

  this._id = id;
}

1 个答案:

答案 0 :(得分:3)

根据Microsoft's description of the error message作为与编码相关的编码,在服务器端的AJAX输出上设置适当的编码。