Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/01/2007, 13:28
walterwn
 
Fecha de Ingreso: octubre-2006
Mensajes: 31
Antigüedad: 17 años, 7 meses
Puntos: 0
Re: una consulta responseText a una variable

var Fecha;
funcion abc(){
.
.
.
_objetus.onreadystatechange=function() { //funcion controlador
if (_objetus.readyState == 4) //control de estados del proceso
{
//si se da un status 200 (TERMINADO CON EXITO)
if(_objetus.status == 200)
{
//procesos que se realizaran con los datos obtenidos
document.getElementById('octava').innerHTML = _objetus.responseText;
document.getElementById('novena').innerHTML = 'OK';
Fecha = _objetus.responseText;
}
}
}



var axy = Fecha;
}