Is it possible to select one day in the jqueryUI datepicker and than the datepicker gives the next N days a css class like ‘marked-time-period’?
For example: A date goes over 3 days, and you can set a start date on the datepicker. When you clicked on the 4th november, the 5th,6th,7th get the css class ‘marked-time-period’.
greetings
ok, here is my solution:
http://jsfiddle.net/tungon/buyrZ/the var datesFromDatabase are generated in PHP.
var datesFromDatabase = {'16.11.2012': ['17.11.2012', '18.11.2012', '19.11.2012'],
'17.11.2012': ['18.11.2012', '19.11.2012', '20.11.2012']
};