[jQuery] Re: KelvinLuck - DatePicker V2 - another question..

2007-05-18 Thread Vincent Majer
Thanks, i'll try that ! Sam Collett a écrit : You could try using a loop: var Holidays = {} var startDate = new Date(2007, 9, 27), endDate = new Date(2007, 10, 8); for(var d = startDate; d <= endDate; d = (new Date(startDate.setDate(startDate.getDate() + 1 { Holidays['d' + d.getT

[jQuery] Re: KelvinLuck - DatePicker V2 - another question..

2007-05-18 Thread Sam Collett
You could try using a loop: var Holidays = {} var startDate = new Date(2007, 9, 27), endDate = new Date(2007, 10, 8); for(var d = startDate; d <= endDate; d = (new Date(startDate.setDate(startDate.getDate() + 1 { Holidays['d' + d.getTime()] = 'Toussaint'; } On May 18, 2:51 pm, Vincen