Calendar onclick handler

You can set an onclick event handler

Date:
/ /
attachEvent method sets function called when specified event occurs.
In case of onclick event a function incoming argument is the date of clicked day in the calendar.