wijmo.calendar.wijcalendar Namespace > options type : selectedDatesChanged Event |
Javascript (Usage) | |
---|---|
$(function () { // Set selectedDatesChanged event handler function $(".selector").wijcalendar({ selectedDatesChanged : function (e, data) { } }); }); |
Javascript (Specification) | |
---|---|
selectedDatesChanged = function ( e : jQuery.Event, data : ISelectedDatesChangedEventArgs ) { }; |
$("#calendar").wijcalendar( { popupMode: true, selectedDatesChanged: function () { var selDate = $(this).wijcalendar("getSelectedDate"); var selectDate = new Date(selDate); if (!!selDate) $("#popdate").val(selectDate.getMonth() + 1 + "/" + selectDate.getDate() + "/" + selectDate.getFullYear()); }