Jquery: DatePicker: start/end date

Posted by Abu Hamzah on Stack Overflow See other posts from Stack Overflow or by Abu Hamzah
Published on 2010-04-22T20:12:29Z Indexed on 2010/04/22 20:13 UTC
Read the original article Hit count: 918

Filed under:
|

Hi there, i have looked around before posting my question

following what i am looking in my datepicker (start date and end date):

1) Start date: can be any date, (user can select start date current (now) to any future date.

2) Start date: user can select start date as back as 6 months. example: if today is 04/22/2010 then i can go back up to 11/22/2009 but not more than 6 moths.

3) Start date if the user select the start date (current of future, not past) less then 10 days then i would like to alert message saying "need at least 10 days"

4) End date: should be current date to future dates alll previous dates are disabled.

5) *Start date / End date: * should not be greater than one year.

Thanks so much.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about datepicker