Obtain selected value from collection_select

Hi

Im trying to change the layout of a view depending on the value selected
in a collection_select box dynamically. Iow the value selected must be
passed to the controller without any submit buttons beings pressed.
Ultimately I wanna know how to obtain the selected value from
collection_select and refresh this value if the collection is
changed…

Any help would be appreciated!! thx

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