Ver Mensaje Individual
  #59 (permalink)  
Antiguo 22/07/2006, 19:08
Avatar de reel
reel
 
Fecha de Ingreso: febrero-2004
Ubicación: Managua, Nicaragua
Mensajes: 496
Antigüedad: 20 años, 3 meses
Puntos: 1
Sonrisa Sigo con la duda

Yupi,

Nzo, hicistes trabajar mi cerebro por un buen rato, pero ya logre correr el ejemplo. El isiXML también esta estupendo.

La solución fue dejar vacio el metodo send del obeto objAjax, el código quedó así:

Código:
function readxml() {
	if (typeof(XMLHttpRequest) != 'undefined')
		objAjax = new XMLHttpRequest();
	else
		objAjax = (Number(navigator.appVersion.substr(0,3)) >= 5) ? new ActiveXObject('Msxml2.XMLHTTP') : new ActiveXObject('Microsoft.XMLHTTP');

	objAjax.open('GET', 'myxml.xml', true);
	objAjax.onreadystatechange = getinfo
	objAjax.send();
}
Pero me quedo con la curiosidad saber que provocaba el error, que hace la diferencia? en que cambia al quitar el parametro?. Nzo, si me aclaras la duda te lo agradeceré mucho.

Ah, muy buen trabajo Nzo.

Saludes
__________________
Leer es Saber, REEL.
Mi Blog