Forum: Ruby on Rails Selection list in ruby on rails (Combo Box)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Senthil K. (Guest)
on 2007-01-31 11:02
Hi,

I am new to ruby,  i have a doubt in selection list,  i have create the
selection list as follows and it also working fine, my doubt is how to
get selected item value on every change.  Any please guide me on this.
<%=
select(:loc, :names, [ ['India', 91],
['Bangladesh', 44],
['Malaysia', 60],
['West Indies', 880],
['Dubai', 971],
['Bharain', 973],
['USA', 001]
]) %>

regards,
Senthil K
alex (Guest)
on 2007-02-01 12:44
(Received via mailing list)
Try posting your question on refwell.com I got my answer there quite
quickly
regards
Alex

On Jan 31, 10:02 am, Senthil K. <rails-mailing-
This topic is locked and can not be replied to.