Venu Gopal
2010-Jun-09 12:29 UTC
To Display save button , when we select an option from drop
Hi I need help regarding displaying of a save button when we select some thing from the drop down. -- 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.
Saurabh Peshkar
2010-Jun-09 16:20 UTC
Re: To Display save button , when we select an option from drop
Venu Gopal wrote:> Hi > > I need help regarding displaying of a save button when we select some > thing from the drop down.Hi, Try using the following <%= select_tag "name", options_for_select(["Free", "Basic", "Advanced", "Super Platinum"], "Free"), {:onchange => "call a javascript function that will show the save button"} %> Might Help. Regards Saurabh -- 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.