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

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

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]
]) %>

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

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