Assuming the item you have the days ahead stored in is an input
(untested):
$("#theDatePicker").datepicker( "option" , "minDate", $
("#P2_DAYS_AHEAD").val());
Hth,
Dave
On Oct 8, 4:25 pm, David <[email protected]> wrote:
> I have an interesting case here. I have UI Datepickers on my page but
> I have differing levels of users with different mindates based their
> level. What I am doing now is I have an item named P2_DAYS_AHEAD that
> I will populate with the number of days to look (either +<number of
> days> or -<number of days>). What I want to do is take this value and
> then use it for my mindate value. Has anyone done anything like this
> before?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---