Hello All,

I am running into an issue where the month drop down will only display
from January up to the current month, as the date range is limited to
the current date and 10 year in the past. It makes sense that the
month drop down would not let me select November of 2009 as that is in
the future, but since the month is listed before the year, users are
attempting to set the month first, then the year. I would like to have
the datepicker display any month but only allow the date that is
selected to be the current date or a past date.

Thanks in advance for anyone able to help out. Below is my datepicker
initialization options.

$(function() {
    $('.selector').datepicker({
        changeMonth: true,
        changeYear: true,
        minDate: '-10Y',
        maxDate: '+0D'
    });
});

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to