开发者

'XMLHTTPRequest is Undefined' IE6 [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 9 years ago.

开发者_开发百科guys, I got the error XMLHTTPRequest is Undefined in IE6 when I load data via ajax to another drop down in php.


Most probably that's because in IE6 you'll have to create XMLHTTPRequest with ActiveXObject,

Like so:

   var xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");


IE6 has no native support for XMLHTTPRequest however XMLHTTP is implemented as an ActiveX object provided by MSXML.

http://blogs.msdn.com/ie/archive/2006/01/23/516393.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜