Getting value from collection_select

Hi,

I have this: <%= collection_select(:post, :id, @posts, :id, :title,
options ={:prompt => “-Select categories-”},
:class=>“category_dropdown_list”) %>

How do I get the value of the list?

In my observe_field, :with => ??

Thanks!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs