<script>
WriteToDebug("Trying to create Microsoft.XMLHTTP in javascript")
if (window.XMLHttpRequest){
objXMLHTTP = new XMLHttpRequest();
} else if (window.ActiveXObject){
XMLHttpRequest2 = function() {
try { return new ActiveXObject("Msxml2.XMLHTTP.6.0"); }
catch(e) {}
try { return new ActiveXObject("Msxml2.XMLHTTP.3.0"); }
catch(e) {}
try { return new ActiveXObject("Msxml2.XMLHTTP"); }
catch(e) {}
try { return new ActiveXObject("Microsoft.XMLHTTP"); }
catch(e) {}
throw new Error("This browser does not support XMLHttpRequest.");
};
objXMLHTTP = XMLHttpRequest2();
}
if (objXMLHTTP == null){
WriteToDebug("ERROR Trying to create Microsoft.XMLHTTP in javascript");
alert("ERROR - Could not establish communications with the LMS. You may be using an old browser." );
}
</script>
As with any changes, please make sure you back up your existing files in case you need to shuffle those files back into production.
Thank you,
Joe