Displaying 1 result from an estimated 1 matches for "associated_category".
2006 Jun 13
1
AJAX based record deletion
...I
may wish to delete using the link below. The list of categories is
stored in a <div id="associated_categories"><ul><li>...</li></div>
structure.
<%= link_to_remote("Remove Association", :complete => "new
Effect.Fade(''cat#{associated_category.id}'')",
:url => { :action => :destroy_category_association,
:id => associated_category.id,
:params => {:product_id => product_id}},
:confirm => "Are you sure?") %>
Presently removing an item works correctly, including a Prototype based...