Calendar Control

Handling onSelect / onDeselect

This implementation augments the multi-select Calendar with event handlers for onSelect and onDeselect. The dates that are selected or deselected are passed as an argument to the event handlers.

Dates are passed as an array of date field arrays, in the format: [YYYY, M, D]. For instance, if two dates are selected at once (8/6/2006 and 8/7/2006), the argument passed to onSelect would be: [ [2006,8,6], [2006,8,7] ].

reset| what's selected?