Hi,

this is not supported by the ajax helper, I think you have to stop and
overwrite the PeriodicalExecuter manually. See here
http://www.prototypejs.org/api/periodicalExecuter and here
http://www.prototypejs.org/api/periodicalExecuter/stop .

You could try to change the ajax helper remoteTimer() so that the
PeriodicalExecuter is put into a variable which you may then use to
stop it and overwrite it with a new PeriodicalExecuter on click on
your checkbox.

Not sure if this works, but I hope this helps anyway,

Michael

On 4 Nov., 21:51, Galdan <[EMAIL PROTECTED]> wrote:
> Hi together,
>
> i use $ajax->remoteTimer(); to refresh a DIV all 30 seconds.
>
> I wan't to enable/disable this by an checkbox, but i have absolutely
> no idea to handle this.
>
> Could you help me?
>
> Thank you very much in advance!
>
> byebye
> Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to