xmlHttp.responseText er tom
Kode:function FactoryXMLHttpRequest() {
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) {
}
}
throw new Error("No can go ActiveX");
}
xmlHttp = FactoryXMLHttpRequest();
xmlHttp.onreadystatechange = updateiCalPage;
xmlHttp.open("GET", Url,false);
try {xmlHttp.send(null);
}
catch(e)
{
// Eat error
}
break;
xmlHttp.readyState = 4
xmlHttp.status = 0
xmlHttp.responseText er tom
Hvad skyldes det ?