On Aug 20, 1:04 pm, Hemant Bhargava
wrote:
> Thanks for reply ..
> already read ..
>
And you didn't notice that the second parameter to options_for_select
is the value to be selected ? (you do need to ensure that the type of
the selected value is the same as the type of the select options - a
c
Thanks for reply ..
already read ..
Is dere any type of mishappening is happening .. I mean if i am storing
values in array as string ..
>> Is dere any way to give default value or value to select tags ..
>> My scenario is:-
>>
>> <% value_array = [1, 2, 3, 4, 5] %>
>>
>> � <%= options_for_se
On Aug 20, 12:18 pm, Hemant Bhargava wrote:
> Hello,
>
> Is dere any way to give default value or value to select tags ..
> My scenario is:-
>
> <% value_array = [1, 2, 3, 4, 5] %>
>
> <%= options_for_select (value_array) %>
>
>
Read the docs for options_for_select
Fred
> Now i am storing
3 matches
Mail list logo