thank you for your response. I've taken a look to the ajax helper, and
basically i understand what you mean.
But I'am not experienced enough to do this :-(
On 4 Nov., 23:57, schneimi <michael.schne...@arcor.de> wrote:
> Hi,
>
> this is not supported by the ajax helper, I think you have to stop and
> overwrite the PeriodicalExecuter manually. See herehttp://www.prototypejs.org/api/periodicalExecuterand herehttp://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 <beyer.tho...@gmail.com> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment