Wijmo UI for the Web
selectedDatesChanged Event
wijmo.calendar.wijcalendar Namespace > options type : selectedDatesChanged Event
Standard jQuery event object
Information about an event
The selectedDatesChanged event handler. A function called after the selectedDates collection changed.
Syntax
$(function () {
    // Set selectedDatesChanged event handler function
    $(".selector").wijcalendar({
        selectedDatesChanged : function (e, data) {
     
        }
    });
});
selectedDatesChanged = function ( 
   e : jQuery.Event,
   data : ISelectedDatesChangedEventArgs
) { };

Parameters

e
Standard jQuery event object
data
Information about an event
Example
$("#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());
  }
See Also

Reference

options type
wijcalendar jQuery Widget