onBeforeDateSelect

fires before a user selects date in the DateRange

void onBeforeDateSelect(object range);
rangeobjectrange object with 'start' and 'end' properties

Example

$$('daterange1').attachEvent("onBeforeDateSelect", function(range){
    //... some code here ... 
});

Details

The range object contains two properties:

  • start - (Date) a Date object for the start date
  • end - (Date) a Date object for the end date
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.