jQuery.wijmo.wijcalendar Namespace > options type : selectedDatesChanged Event |
Javascript (Usage) | |
---|---|
var instance; // Type: options instance.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()); }