Estoy teniendo un problema de AJAX en Chrome, dando el siguiente error:NETWORK_ERR: XMLHttpRequest Excepción 101
Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101
Este es mi código:
function IO(filename) {
if (window.XMLHttpRequest) { // Mozilla, Safari,...
xmlhttp = new XMLHttpRequest();
} else if (window.ActiveXObject) { // IE
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) { }
}
}
xmlhttp.open("GET", filename+"?random="+Math.floor(Math.random()*100000001), false);
xmlhttp.send();
if(xmlhttp.readyState==4)
return xmlhttp.responseXML;
}
¿Cuál es 'filename' que está utilizando? – pimvdb