I am using Microsoft LRN viewer to view courses but the courses do not load in FireFox. Here is the function being used but it is using ActiveX. Is it possible that this function can be switched to be compatible with FireFox?
Code:
function LoadXML
(
strXML
)
{
try
{
if(("string" != typeof(strXML)) || ("" == strXML))
{
return null;
}
var oXML = new ActiveXObject("Msxml2.DOMDocument.3.0");
oXML.async = false;
oXML.loadXML(strXML);
if(0 != oXML.parseError.errorCode)
{
return null;
}
return oXML;
}
catch(e)
{
return null;
}
}