If you use any of symfony's AJAX "calling" helpers like link_to_remote or form_remote_tag you just need to include the "script"=>"true" option in the options array.
On Mon, Mar 30, 2009 at 3:27 PM, Schorsch <ge...@achtstaetter.net> wrote: > > Hey Gareth, hi all, > > sadly i don't have an solution to this. But i have similiar experience > with Symfony and AJAX calls. I can easily include JavaScript with the > jvavscript_tag(), wich works fine... > > Until JavaScript is included in a partial wich is rendered as response > from AJAX-request. How can i run JS in the rendered partial after i > use for exemple a > "form_remote_tag(array( > 'update' => 'div2Update', > 'url' => 'module/action', > 'loading' =>visual_effect('grow', 'indicator'), > 'complete' => visual_effect('puff', 'indicator').visual_effect > ('appear', 'map'), > ));" > ? > > I think these problems are linked, as long every JS in my partial just > seems to be ignored. How to solve this? > > Regards, > Georg > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---