Hi,

Try :

<div id='display></div>
<?php echo link_to_remote('User Screen',
array('update'=>'display',
        'url'=>'sample/user',
        'script' => true)) ?>

The value 'script' in array allows to evaluate JavaScript code in
return a call AJAX.


See : 
http://www.symfony-project.org/book/1_1/11-Ajax-Integration#chapter_11_sub_authorizing_script_execution


On 10 mar, 09:39, 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
> ('update'=>'display','url'=>'sample/user')) ?>

--~--~---------~--~----~------------~-------~--~----~
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