I’m using two jQuery datepickers to select a dates range. Is there a way to select a whole week? This means that when opening the start datepicker, there will be two selection methods:
- Select a single start date (without affecting the end datepicker).
- Select a whole week (which would set the start datepicker to the first day of the week and then end datepicker to the last).
In asp calendar something similar can be done by setting the SelectionMode property to “DayWeek”, but I haven’t a way to achieve that in jQuery datepicker. Can it be done?
Here is I how ended up implementing this: