Ver Mensaje Individual
  #5 (permalink)  
Antiguo 07/03/2008, 09:14
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: problema con retorno de ajax

Crea un div, con un id:
Código HTML:
<div id="resultado"></div> 
Luego en tu función cambialo así:
Código:
if (ajax.readyState==4)
            {
                document.getElementById("resultado").innerHTML = ajax.responseText;
            }
Saludos.