Ver Mensaje Individual
  #4 (permalink)  
Antiguo 14/09/2007, 08:15
gvargas
 
Fecha de Ingreso: octubre-2006
Ubicación: México D.F
Mensajes: 210
Antigüedad: 17 años, 6 meses
Puntos: 0
Re: Problemas con Ajax.PeriodicalUpdater

Creo que el script está mal.

Prueba así:
Código PHP:
<script type="text/javascript">
        function 
lastSpy() {
            var 
target = $('online');
            if (!
target) return false;
            new 
Ajax.PeriodicalUpdater(target'http://punto9.no-ip.info/online/online.htm',{frequency:'5'});
        }
        
Event.observe(window'load'lastSpyfalse);
    
</script> 
Yo uso lo mismo y veo que el nombre de la función en el Event.observe debe ser la misma que hace la petición periodica.