Hi Guys,
Hopefully somebody may be able to help me with this one. I getting the error
Error: ActiveXObject is not defined
Line: 154
The code executes without a problem in IE so i am not to sure what is happening. Here is a copy of the code:
function GetxmlHttpObject()
{
var xmlHttp=null;
try
{
// Firefox, Opera 8.0+, Safari
xmlHttp=new xmlHttpRequest();
}
catch (e)
{
// Internet Explorer
try
{
xmlHttp=new ActiveXObject(“Msxml2.XMLHTTP”);
}
catch (e)
{
xmlHttp=new ActiveXObject(“Microsoft.XMLHTTP”);
}
}
return xmlHttp;
}
If anybody could please give me any advise on why this is not working in Firefox I would be very thankful.
Thanks in advance,
almac007