Never been to TextSnippets 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!)

About this user

Justin Williams http://www.carpeaqua.com

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

link_to_remote not calling "complete"

<ul>
<% @items.each do |item| %>
>
<%= 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)"
})           -%>
>
<% end %>
>
« Newer Snippets
Older Snippets »
1 total  XML / RSS feed