Board index » javascript » Windows Server 2003 r2 64 bit and msxml
|
Ike
Registered User |
Windows Server 2003 r2 64 bit and msxml
2006-06-21 08:06:32 PM
Is anyone aware of any reason why the following won't work on a Windows Server 2003 r2 64 bit Edition? I am simply calling the following snippet, and trying to execute it in a browser window there, just as I do any other version of Windows: if (window.ActiveXObject && !window.XMLHttpRequest) { window.XMLHttpRequest = function() { var msxmls = new Array( 'Msxml2.XMLHTTP.5.0', 'Msxml2.XMLHTTP.4.0', 'Msxml2.XMLHTTP.3.0', 'Msxml2.XMLHTTP', 'Microsoft.XMLHTTP'); for (var i = 0; i < msxmls.length; i++) { try { return new ActiveXObject(msxmls[i]); } catch (e) { } } return null; }; //Ike - |
