search for: toggle_color

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

2006 Apr 07
3
RJS removing content of div, but not div itself
...n''t figure it out. Thanks in advance to anyone who can give me some help understanding this. I''ve included some code below. Best regards, Bill --------------------- controller ---------------------- class ListdemoController < ApplicationController def index session[:toggle_color] = 1 # used to create a ''green-bar paper'' effect end def add_item @ingredient = Ingredient.new @ingredient.name = params[:name] @ingredient.qty = params[:qty] @ingredient.save render(:partial => ''line_form'') end def delete...