Chris@1464: $('#attachments_<%= j params[:attachment_id] %>').remove();