如何处理rails4中的link_to_remote
= link_to_remote("Remove ", :url => {:controller => 'task', :action => "remov"},
:confirm => "Remove Force Result Notes \nAre you sure you want to remove Force Result Notes from selected task allocation(s)?", :method => :post, :with => "'selected_ta=' + $$('.select_box:checked').map(function(e) { return e.value; }).join()",
:after => 'Waiting.saving();', :complete => 'Waiting.hide();',
:failure => "alert('faill!!!')",
:html => {:title => "Remove Notes"})
我很难处理,之后和完成。我也阅读了很多文章,但没有找到帮助。