On Sun, Jul 28, 2013 at 11:38 AM, yash shah <[email protected]> wrote:
> I have created the drop down list for state and city. Now when the user > selects the state say florida and city say miami, I want to display these > names on the new page when the user clicks the search link. Using link_to, > I am not able to pass these names to the new page. Correct, or at least not without JavaScript. The easiest way is to make 'Search' a submit button inside the form. -- Hassan Schroeder ------------------------ [email protected] http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yC-RuUGKgiA5RtLz9Wi8xG_hRMo%2B3bELf-pcqLkUnC%3Dqw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.

