ClickNow: function (sender, args)
sender. Event source.
args. Event information.
The ClickNow event occurs on clicking the Today button.
To execute the example, create the MonthCalendar component (see Example of Creating the MonthCalendar Component). Add the ClickNow event handler:
MC.ClickNow.add(function (sender, args)
{
alert(Today + MC.getCurrentDay() + / + MC.getCurrentMonth())
})
After executing the example on clicking the Today button the message concerning the current day and month is displayed.
See also: