Help with Datepicker
Help with Datepicker
Hello
I'm new to jQuery and i have an question about the Datepicker.
I have two Input-Fields named "txtStart" and "txtEnd".
I want to configure that the minDate of "txtStart" is today plus 10 days. That works with
- $("#txtStart").datepicker({minDate: +10});
Now i want to configure that the minDate of "txtEnd" is the date of "txtStart" plus 5 day and the the maxDate is the date of "txtStart" plus 6 Months.
It would be great if somebody can show me how to code that. If somebody could how to let change the dates when automaticly when the user selects a date.
I'm happy about every piece of code.
Thank you very much :)