Topic: Multiple time selector?
Hi
I would like to design a page where the user can select multiple times. I am currently doing it like this:
There is an "Add Time" link_to_remote which adds this to the DIV.
<%= time_select "test", :read_time, :include_seconds => true %>
Now, the user can click Add Time multiple number of times and select the time. But on create, I am able to get only the first time selected.
Also, if I try to view the value of params[:test] in the controller, this is what I get:
read_time(1i)2009read_time(2i)5read_time(3i)22read_time(4i)09read_time(5i)32read_time(6i)20id14
The other dates do not come.
Can someone please help?
Thanks,
Sridhar