onAfterDateSelect

fires after a user has selected a date in the DateRange

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

Example

$$('daterange1').attachEvent("onAfterDateSelect", 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