Displaying 1 result from an estimated 1 matches for "chow_day".
Did you mean:
show_day
2006 Jun 04
3
Ajax table does not update
...days'', :id => child %></td>
</tr>
<tr>
<div id="show_days" style="display: none"></div>
</tr>
</table>
(child_controller
def show_days
@child = Child.find(params[:id])
@days = @child.days
end
(child.chow_days.rjs)
page.replace_html ''show_days'', :partial => ''days'', :collection => @days
page.visual_effect :toggle_appear, ''show_days'', ''duration'' => 0.5
(_days.rhtml)
<% for day in @days -%>
<td><%=h day.start...