I use select_tag to create a selection box in a view and how can I get
the current selection value in its controller? For example:

select_tag:project_selection,options_for_select(@project_names),
          :onchange
=>remote_function(:update=>'posts',:loading=>'false',
          :url => { :action => :update_project_selection })

in the action "update_project_selection", how can I get the current
selection?

thanks,
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to