fires on clicking the Clear button
$$('myCalendar').attachEvent("onDateClear", function(){ //some code here });