Try adding option "script"=>true. As per the symfony book example:
echo link_to_remote('Delete this post', array(
'update' => 'feedback',
'url' => 'post/delete?id='.$post->getId(),
'script' => true,
)) ?>
On Tue, Mar 10, 2009 at 10:39 AM, Pooja <[email protected]> wrote:
>
> Hi
> I am using code below for a link.When link is clicked everything works
> well but javascript code in userSuccess.php is not executed...Plz help
> <div id='display></div>
> <?php echo link_to_remote('User Screen',array
> c
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---