On Fri, Aug 13, 2010 at 5:17 PM, Ruby on Rails: Talk
<[email protected]> wrote:
> I'm trying to replicate the following in Rails 3:
>
> <%= link_to_remote image_tag("creditcard.png", :border => 0), :url =>
> {:action => :make_payment, :type => "Credit", :id =>
> @appt.id }, :with=>"'amount='+$F('amount')", :complete =>
> remote_function( :url => { :action => :load_appt, :id => @appt.id })
> %>

link_to 'foo', some_path, :remote => true


-- 
Greg Donald
destiney.com | gregdonald.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 [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.

Reply via email to