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