<ul> <% @items.each do |item| %> <li> <%= link_to_remote(item.name, { :url => { :controller => 'security', :action => 'add_security', :description => item.name, :symbol => item.symbol }, :update => {:success=>'indexFundList', :failure=>'notice'}, :position => :bottom, :loading => "loading()", :complete => "completeAddIndexFund(request)" }) -%> </li> <% end %> </ul>
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
link_to_remote not calling "complete" (See related posts)
Comments on this post
bburcham posts on Feb 12, 2006 at 12:14
Um, now that I look at the original again, I see no problem with it. Strike yesterday's comment.
You need to create an account or log in to post comments to this site.
Related Posts
» start my lighttpd-based rail... in lighttpd rubyonrails
» Select a State in Rails in rubyonrails
» Import of old Instiki data t... in rubyonrails
» Typo dispatch.fcgi in rubyonrails
» Default content-type in Rails in rubyonrails encoding
» ActiveRecord attribute calls... in activerecord rubyonrails
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails
<%= link_to_remote(item.name,
:url => {
:controller => 'security',
:action => 'add_security',
:description => item.name,
:symbol => item.symbol
},
:update => {:success=>'indexFundList', :failure=>'notice'},
:position => :bottom,
:loading => "loading()",
:complete => "completeAddIndexFund(request)"
) -%>