Does anyone know of one?
I want a select menu that will submit upon selection rather than
requiring a submit_tag. Does anyone know of one?
Does anyone know of one?
I want a select menu that will submit upon selection rather than
requiring a submit_tag. Does anyone know of one?
You can do this rather easily (have a form submit based on a change to a
form field) by using a javascript handler or if you prefer to keep
within rails, you can use an observe_field or observe_form tag
Check into them, specifically observe_field will automatically submit a
form when a certain field is changed.
http://api.rubyonrails.org/classes/ActionView/Helpers/PrototypeHelper.html
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs