开发者

'XMLHTTPRequest is Undefined' IE6 [closed]

开发者 https://www.devze.com 2022-12-11 09:44 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
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

精彩评论

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