Displaying 1 result from an estimated 1 matches for "saleid".
Did you mean:
safeid
2008 May 08
0
On 'Back' button of browser, drop down doesn't get refreshed
Hey guys,
i have a drop down in my UI, which value gets filled by session[:sale].
<%= select_tag :sale_id, options_for_select([["Select Sale", "0"]] +
@sales.collect { |s| [s.name, s.name] }, selected = session[:saleid]), {
:id => "sale_id", :onchange => "search_verify();" } %>
I have a post on, ''onchange'' event of it. if i have selected sale1, the
item list will come of sale1. Then i selected sale2, sale2 list will be
there. Now i clicked ''Back'' b...