Displaying 1 result from an estimated 1 matches for "hidden_form".
2006 Jun 21
1
how can I get the value of a hidden field and pass it
...to accomplish this is that the date can come in the Ajax
response as a hidden field and when I click a link I can get that hidden
field value and pass it to the action in rails as a param.
I have done all this. I have the date in a hidden field and I have
access to that field with "document.hidden_form.hidden_date.value" but I
don''t know how to introduce this value in a rails variable as @date to
pass it with
<%= link_to ''New event'', :action => ''new'' , :date_start_day=>@date%>
thank you in advance
if you have any other idea about h...