I\'m usung the jQuery datepicker. In my \"EndDate\" textbox I\'d like to use the date selected from the the \"StartDate\" textbox + 1. How do I do this?
I tried this
Are you talking setting a max selection date?
StartDate = new Date("March 20, 2010"); EndDate = new Date("March 21, 2010"); $("#datepicker").datepicker({ minDate: StartDate, maxDate: EndDate, defaultDate: StartDate });
Note the maxDate? That won't let you select any days past it ...