search for: span_name

Displaying 1 result from an estimated 1 matches for "span_name".

Did you mean: spa_name
2006 Jul 18
0
AJAX issue: How to push rest of records up after deleting a record
...tems does get deleted. But that row becomes empty. The item 3 doesn''t get pushed up. Does it mean that I should render the whole page or is there something I''m missing. Here is my code to execute delete. def remove_line render :update do |page| id = @params[:id] span_name = ''line-'' + id.to_s # delete line-2 for testing page[span_name].remove end end I also tried page[span_name].delete but no result. When I look into firebug , in both the cases I see the element ''line-2" there. It means when I ask line-2 to be remov...