Hi, I think remote_function are obsoleted in the Symfony 1.4. I think this can be achieved using JQuery.
Regards Deepak On Tue, Apr 6, 2010 at 3:14 PM, Belgacem TLILI <belgacem0...@gmail.com>wrote: > i have include > <?php use_helper('JavascriptBase') ?> > > if i use <?php use_helper('Javascript')?> i will get an error > (i thinks for sf 1.4 we must use JavascriptBase > > On 6 avr, 00:24, Robert Heim <sa...@gmx.net> wrote: > > Oh I'm sorry.. I did not know that remote_function(..) is a built-in > > support for ajax in symfony.. I thought it was meant as a JS function.. > > > > So you might want to remove the >"< again. > > > > Did you include the JS-Helper? > > <?php use_helper('Javascript')?> > > > > Am 06.04.2010 00:13, schrieb Belgacem TLILI: > > > > > i'm using jquery to get the ajax action > > > > > this my code in the template > > > > > <script> > > > $("#MyButton").click(function() { > > > remote_function(array("update"=>"item_list","url"=>"cap/new")); > > > }); > > > </script> > > > > > i have not any result ? > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > 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<symfony-users%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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