[Javascript] starting with ajax

Michael Borchers list at tridemail.de
Mon May 8 03:23:19 CDT 2006


i use this function to create the ActiveX for Ajax and it works fine in FF, but IE always gets the result "null".
guess the problem is the IE config or some SP2 prob?!

if(navigator.appName.search("Microsoft") > -1)
{
 //resObjekt = new ActiveXObjekt("Microsoft.XMLHTTP");
 resObjekt = new ActiveXObjekt("MSXML2.XMLHTTP");

}
else
{
 resObjekt = new XMLHttpRequest();

}

alert(resObjekt);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20060508/d4f3dbba/attachment.htm>


More information about the Javascript mailing list