Yeah. You should never, ever program javascript without a runtime debugger, and Firebug is pretty much the gold standard for Useful and Versatile.
On Mar 10, 8:06 am, Gareth McCumskey <[email protected]> wrote: > Are you using Firefox? If so try to get the Firebug add on installed if you > haven't already and try to use that to see if your Javascript is in fact > working correctly. It may be hitting an error which you cannot see. > > On Tue, Mar 10, 2009 at 1:58 PM, Pooja <[email protected]> wrote: > > > hi Yohann > > i tried using the same code but still problem is not solved. > > > On Mar 10, 2:17 pm, Yohann <[email protected]> wrote: > > > 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_1... > > > > 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')) ?>- Hide quoted text - > > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
