Loading the selected date in a variable

5 views
Skip to first unread message

Arun

unread,
Jul 27, 2009, 8:21:23 PM7/27/09
to calendar_date_select
With calendar_date_select_tag, what is the equivalent tag for:

<%#= f.date_select :run_date %>

Currently I have:

<%= calendar_date_select_tag "run_date", "", :valid_date_check =>
"date <= (new Date()).stripTime()" %>

But would like the selected date to be automatically loaded
in :run_date ?

-Arun
Reply all
Reply to author
Forward
0 new messages