Is there a tag that is a button but acts as link_to_remote? -- http://sourceforge.net/projects/mycodeline/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 6/21/07, huang zhimin <flyerhzm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Is there a tag that is a button but acts as link_to_remote? > > Check out submit_to_remote:http://api.rubyonrails.com/classes/ActionView/Helpers/PrototypeHelper.html#M000532 Grtz Gert --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
It seems that submit_to_remote should be appear only in a form. But I like to put the buttons anywhere. On 6/21/07, Gert Goet <thinkcreate-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On 6/21/07, huang zhimin <flyerhzm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Is there a tag that is a button but acts as link_to_remote? > > > > Check out submit_to_remote: > http://api.rubyonrails.com/classes/ActionView/Helpers/PrototypeHelper.html#M000532 > > Grtz Gert > > > >-- http://sourceforge.net/projects/mycodeline/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Jun 21, 7:35 am, "huang zhimin" <flyer...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is there a tag that is a button but acts as link_to_remote? >I didn''t see an exact solution for your problem in the docs, but you could start with button_to_function[1] 1: http://api.rubyonrails.org/classes/ActionView/Helpers/JavaScriptHelper.html#M000631 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---