Hey Guys, Before Rails 3.0 I was to be able invoke some javascript before and after an ajax call was made, like this: link_to_remote "aLabel", url, :before=>$(''indicator'').show(), :complete=>$(''indicator'').hide() In Rails 3.0, I understand I need to use link_to and pass the parameter :remote=>true. link_to however, doesn''t accept :complete and :before parameters. I can implement the :complete action with an rjs script that gets executed when the call completes. I''m not sure how to implement the :before action though... any ideas would be appreciated. -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.