No me lo explico, alguna ayuda?
Código:
var isIE = false; var req; function loadXML(url) { if(url == ''){ return; } if (window.XMLHttpRequest) { req = new XMLHttpRequest(); req.onreadystatechange = processReqChange("innerReader"); req.open("GET", url, true); req.send(null); } else if (window.ActiveXObject) { isIE = true; req = new ActiveXObject("Microsoft.XMLHTTP"); if (req) { req.onreadystatechange = processReqChange("innerReader"); req.open("GET", url, true); req.send(); } } } function processReqChange(div){ var detalles = document.getElementById(div); if(req.readyState == 4){ detalles.innerHTML = req.responseText; } else { } }