AJAX.
Rails 3: link_to ...., :remote => true
Rails 2.*: link_to_remote ....

Garrett Lancaster

------------------------------------------------------------------------

        CiriusMex <mailto:[email protected]>
January 11, 2011 12:57 PM


Hello, I need to execute an action when the user click a button but I
don't want the page to be reloaded. Is there any way to call a
controller action without reloading?

Olivier.


--
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

<<inline: compose-unknown-contact.jpg>>

Reply via email to