2011-07-04 1 views
0

MS Ajaxを使用してサーバー上のWebサービスからコンテンツを取得するページがあります。これはほとんどのマシンでうまく動作しますが、IE8では特定のマシンでは動作しません。私はこれらのマシン上のすべてのプラグインと、ネットの周りからのいくつかの他の提案を無効にしましたが、何も動作しません。私はライン73上の「tagNameをがオブジェクトではありません」私はデバッグのスクリプトをオンに取得するとき特定のIE8のtagNameエラーのみ

、私は次のコードでエラーが表示されます。

Sys.Net.XMLHttpExecutor = function Sys$Net$XMLHttpExecutor() { 
/// <summary locid="M:J#Sys.Net.XMLHttpExecutor.#ctor" /> 
if (arguments.length !== 0) throw Error.parameterCount(); 
Sys.Net.XMLHttpExecutor.initializeBase(this); 
var _this = this; 
this._xmlHttpRequest = null; 
this._webRequest = null; 
this._responseAvailable = false; 
this._timedOut = false; 
this._timer = null; 
this._aborted = false; 
this._started = false; 
this._onReadyStateChange = (function() { 

    if (_this._xmlHttpRequest.readyState === 4) { 
     try { 
      if (typeof(_this._xmlHttpRequest.status) === "undefined") { 
       return; 
      } 
     } 
     catch(ex) { 
      return; 
     } 

     _this._clearTimer(); 
     _this._responseAvailable = true; 
     try { 
      _this._webRequest.completed(Sys.EventArgs.Empty); 
     } 
     finally { 
      if (_this._xmlHttpRequest != null) { 
       _this._xmlHttpRequest.onreadystatechange = Function.emptyMethod; 
       _this._xmlHttpRequest = null; 

エラーが最終的にラインの最後にあります。

答えて

0

これはjQuery v1.3.2とIE8のバグでした。 v1.4.0にアップグレードすると問題が解決しました。

関連する問題