Forum: Ruby on Rails button to remote

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
13c60e2a5806406b537daa542d3495da?d=identicon&s=25 huang zhimin (Guest)
on 2007-06-21 13:36
(Received via mailing list)
Is there a tag that is a button but acts as link_to_remote?

--
http://sourceforge.net/projects/mycodeline/
083d27292a1d9885ad6ffb2c93acc5f5?d=identicon&s=25 Gert Goet (Guest)
on 2007-06-21 13:55
(Received via mailing list)
On 6/21/07, huang zhimin <flyerhzm@gmail.com> 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/Help...

Grtz Gert
13c60e2a5806406b537daa542d3495da?d=identicon&s=25 huang zhimin (Guest)
on 2007-06-21 14:24
(Received via mailing list)
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@gmail.com> wrote:
> >
>


--
http://sourceforge.net/projects/mycodeline/
21f217fbece2b47ce72cd60ffb32b869?d=identicon&s=25 bryanl (Guest)
on 2007-06-21 14:57
(Received via mailing list)
On Jun 21, 7:35 am, "huang zhimin" <flyer...@gmail.com> 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/Help...
This topic is locked and can not be replied to.