> for example, the periodically_call_remote ajax helper every few minutes,
> make it load an action and then, based on what the action returns, either
> run the javascript or not.

You can set the 'script'=true on periodically_call_remote, and then
just decide on the ajax action what Javascript to render.

On Thu, Mar 19, 2009 at 7:34 PM, Gareth McCumskey <[email protected]> wrote:
> Hi there,
>
> I hate to admit it so publicly but my Javascript knowledge .. well .. it
> leaves a lot to be desired :S. That said, I am looking for a means to run,
> for example, the periodically_call_remote ajax helper every few minutes,
> make it load an action and then, based on what the action returns, either
> run the javascript or not.
>
> Can anyone help me with that? I have looked at the Ajax chapter and seen
> that it is possible to run something based on a condition, but like I said
> at the start of this post, my javascript knowledge is not that good so its
> kind of alien to me.
>
> Gareth
>
> >
>



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to