onTodaySet

fires on clicking the 'Today' button

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

Example

$$('daterange1').attachEvent("onTodaySet", 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
  • Articles
  • Back to top