Displaying 1 result from an estimated 1 matches for "ajax_destroy".
2005 Aug 15
2
Newbie rendering problem
...gt;</td>
<td><%= link_to_remote(''Edit'', :update=>item.id,:url=>{ :action =>
''ajax_edit'', :id => item}) %></td>
<td><%= link_to_remote(''Destroy'',:update=>item.id, :url=>{:action
=>:ajax_destroy, :id => item}, :confirm => ''Are you sure?'') %></td>
</tr>
I have an edit link in the form of link_to_remote with the update
option set to the same element. the idea is to display an update form at
the same position as that of the original item.
ajax_edi...