change
Fires when the selected date is changed.
Example - subscribe to the "change" event during initialization
<div id="calendar"></div>
<script>
$("#calendar").kendoCalendar({
change: function() {
var value = this.value();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(value); //value is the selected date in the calendar
}
});
</script>
Example - subscribe to the "change" event after initialization
<div id="calendar"></div>
<script>
$("#calendar").kendoCalendar();
var calendar = $("#calendar").data("kendoCalendar");
calendar.bind("change", function() {
var value = this.value();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(value); //value is the selected date in the calendar
});
</script>