Ver Mensaje Individual
  #3 (permalink)  
Antiguo 06/10/2009, 14:04
estefanosalazar
 
Fecha de Ingreso: septiembre-2009
Mensajes: 124
Antigüedad: 15 años, 5 meses
Puntos: 3
Respuesta: Loader mientras consulto datos....

Hola!

En donde haces xmlhttp.onreadystatechange, te convendria hacerlo de esta forma


xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4 || xmlhttp.readyState=="complete") {
document.getElementById('resultado').innerHTML=xml http.responseText;
}else {
CARGAA.....
}
}