Hi,
I have a select box with the following options:
How do I get the value of the select box into the button_to?
<%= button_to “Search”, {:controller =>
“ticket”, :action=>“search”, :depart=>“KUL”, :arrival=>???} %>
Hi,
I have a select box with the following options:
How do I get the value of the select box into the button_to?
<%= button_to “Search”, {:controller =>
“ticket”, :action=>“search”, :depart=>“KUL”, :arrival=>???} %>
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