Fires after a user selects date.
myCalendar.attachEvent("onClick",function(date){ alert("Date is set to "+date) })
Parameters of handler function: