search for: current_two_months

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

2006 Oct 29
1
:with for observe_field helper--parameter passing
...th]. However, I need to pass the current year through params[:year], which does not change when the month select is updated, something like this: :with => " ''month='' escape($(''start_date_month_select'').value) + ''&year='' + escape(@current_two_months[0][0].year) " but this doesn''t work. In other words, I need to pass the changed value of the select through params[:month] and I need to pass @current_two_months[0][0].year through params[:year]. How do I do this? Sam -- Posted via http://www.ruby-forum.com/. --~--~---------~...