Hi, The code in javascript section in test2Success.php is not executed. Why is that when link_to_remote is called, the associated action/module doesn't execute Javascript code ?
========================================= My main page has the following code <?php echo link_to_remote('Delete this post', array( 'update' => 'feedback','url' => 'test/test2',)) ?> <div id="feedback"> </div> ======================================== test2Success.php has the following code =============================== <body> <h1>TEST</h1> <script type="text/javascript"> alert("TEST"); </script> </body> =============================== On Fri, Jul 24, 2009 at 1:42 AM, Szabolcs Heilig<szabolcs.hei...@gmail.com> wrote: > Hi, > I think your problem is based on the behavior of Symfony > in "AJAX mode". When you load your action through > link_to_remote() it doesn't decorate that with your layout. > Without that it is possible to your ui-magic never initialized. > 2009/7/23 DEEPAK BHATIA <toreachdee...@gmail.com> >> >> I have a web page which is referenced by link_to_remote action. >> >> This web page/template has yahoo user interface javascript api's. >> >> When I call this page as normal form submission, I get the >> functionality of yahoo user interface javascript api but not when it >> is called as link_to_remote. > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---