Manivannan Jeganathan
2010-Jan-22 09:55 UTC
dynamic select menu doesn''t work for ''form_tag''
Hi everyone, I have tried with the dynamic menu using "http://railscasts.com/episodes/88-dynamic-select-menus " site. i implemented and it was working fine for ''form_for'' tag. But i need to do the same function with ''form_tag'' as like as, <% javascript ''dynamic_states'' %> <%form_tag do%> <p> <label for="person_country_id">Country:</label> <%= collection_select :id, Country.find(:all), :id, :name, :prompt => "Select a Country" %> </p> <%end%> child records doesn''t changed to its corresponding parent when i use ''form_tag''.... i want to do with ''form_tag'' Please help me.... -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Seemingly Similar Threads
- How to Pass Jquery selected dropdown values and radio button values to controller
- names of select elements inside a fields_for block not generated as expected
- collection_select''s linked
- form_tag with remote=>true Error during failsafe response:
- Does collection_select work in list.rhtml?