In addition, I like to mention that in RoR I was able to do something
like this with RJS templates... which enabled me to do multiple Ajax
manipulations to a page. Can't seem to figure out how this works in
Pylons. Thanks!
page.insert_html :bottom, 'list',
content_tag("li", "Fox")
page.visual_effect :highlight, 'list', :duration => 3
page.replace_html 'header',
'RJS Template Test Complete!'
Dan wrote:
> I am using a prototype Ajax.updater which calls a function in my
> controller. This successfully updates my <div> based on the mako
> template I call in render_response. Once this action is complete, I'd
> like to run another Javascript function... basically some
> script.aculo.us effects on the rendered page, with some JavaScript in
> the <head>.
>
> Is this possible?
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---