XMLHttpRequest () vs ActiveXObject ("Microsoft.XMLHTTP") - what's the point?

Microsoft finally added its own XMLHttpRequest object in Internet Explorer 7, but I found out that it can be disabled in the Internet Options dialog box. So, what is the use of using XMLHttpRequest () versus ActiveXObject ("Microsoft.XMLHTTP")?

If you can turn it off, it means that we must constantly check browser compatibility, right? Will XMLHttpRequest () initialize faster than ActiveXObject ("Microsoft.XMLHTTP") or what? Why does Microsoft add it and make it optional?

+5
source share
2 answers

ActiveXObject . , . , . / , / , Flash .

, - ( ), , .

, , .

: , (.. document(), xsl:include XSLT XML) XmlHttpRequest - . , IE, XHR - ( , , Safari Chrome).

+5

, , , JavaScript. , (, ..) , , , .

+2

All Articles