IE7ã®XMLHttpRequestã¯ã»ãã¥ãªãã£å¶éãã¢ãããã¦ããï¼
å é±ã®éæã«æ¸ããªãã£ããã¿ã«ã¤ãã¦ãéãè °ãããã¦æ¸ããã¨æã£ããå¤ãªã¨ããã§ããã£ã¦ãã¾ã£ããã©ããIE7ã§ã¯XMLHttpRequestã使ã£ã¦ããã¼ã«ã«ãã¡ã¤ã«ãããã¼ã«ã«ãã¡ã¤ã«ãã¸ã®ã¢ã¯ã»ã¹ãã§ããªãããã ãIE6ã¨Firefox2.0ã«ã¯ãã®ãããªå¶éã¯ãªãæå¾ éãã«åãã¦ãããã®ã«ã
以ä¸ãæ®´ãæ¸ã
æ¢ã«èªã¿è¾¼ã¿æ¸ã¿ã®HTMLãã¼ã¸ã«ãã大éã®ãªã³ã¯ã®æ å ±(hrefå±æ§ãã¢ã³ã«ã¼ã®ããã¹ã)ãJavascriptã§åå¾ããå ´åãæ¹æ³ã¨ãã¦ã¯ä»¥ä¸ã®ãããªãã®ãèããããã
- document.links ã使ãã(document.getElementsByTagName("A")ã§ããã)
- document.body.innerHTML ããæ£è¦è¡¨ç¾ã§æãåãã
- XMLHttpRequestã§åããã¼ã¸ãããä¸åº¦èªã¿è¾¼ã¿ãXMLHttpRequestã®responseTextããããã£ããæ£è¦è¡¨ç¾ã§æãåãã
ãã¼ã¸ã«å«ã¾ãã¦ãããªã³ã¯ã®æ°ããã»ã©å¤ããªãå ´åãªã1ã®æ¹æ³ã§åé¡ãªãããããããªã³ã¯ã®æ°ã3777åãããã¨éãã¦è©±ãã«ãªããªããªã£ã¦ãã¾ããæ°ååã®DOMè¦ç´ ã«ã¢ã¯ã»ã¹ããªããã°ãªããªããããï¼
2ã®innerHTMLã使ãæ¹æ³ãé
ãããã®ãããªå¤§ããªããã¥ã¡ã³ãã§innerHTMLãçæãããã¨ãæ¢ã«éãã®ã ããã
ä¸æ¹ã3ã®XMLHttpRequestæ¹å¼ã¯ä¸ã®äºã¤ã«æ¯ã¹ã¦ã³ã£ãããããããéããåããã¼ã¸ãèªãã ãã ãããã£ãã·ã¥ãããããä½åãªDOMå¦çããªãããéãã®ã ã¨æãã
ããããåè¿°ã®éãIE7ã®XMLHttpRequestã§ã¯ããã¼ã«ã«ã®ãã¡ã¤ã«ã«å¯¾ãã¦3ã®æ¹å¼ã¯ä½¿ããªããªããä»åãããã¨ãã¦ãããã¿ã§ã¯ããã®3777åã®ãªã³ã¯ã1ç§ç¨åº¦ã®æéã§æãåºããªãã¨ã¹ãã¬ã¹éå¤ã«ãªã£ã¦ãã¾ãã1ã2ã§ã¯ç¡çã§ã3ãªãä½ã¨ããªãã®ã ãâ¦ã
ä½ãããæ¹æ³ã¯ãªãã ãããï¼
追è¨
1ã®æ¹æ³ã§ããåã
ã®ãªã³ã¯ããinnerHTMLãåå¾ãããåãã¼ãã® nodeTypeãè¦ã¦å ´ååãããã¦å¦çããããã«ãããããããã®é度ãåºãããã«ãªã£ããåã«ãinnerHTMLã¸ã®ã¢ã¯ã»ã¹ãæ¿é
ã ã£ãããã ã
æçµçãªæ§è½å·®ã¯ä»¥ä¸ã®éãã
- 1ã®æ¹å¼ : ããã 1500 msec
- 3ã®æ¹å¼ : ããã 500 msec
ã¾ã ãæ¹å¼3ã¯3åç¨åº¦ã®æéãããã£ã¦ããããã¨ããããããã§è¯ãã¨ããããç¶ãã¯ãã¾ãææ¥ã
ä»æ¥ã®æè¨ï¼innerHTMLã®åç §ã¯éãã