In IE7 and above or other browsers you have to use the standard
obj = new XMLHttpRequest();
In IE6 or below, depending on versions of MSXML installed, you will have to use
obj = new ActiveXObject("Msxml2.XMLHTTP");
or
obj = new ActiveXObject("Microsoft.XMLHTTP");
No comments:
Post a Comment