$(function () { // Set selectedDatesChanged event handler function $(".selector").wijcalendar({ selectedDatesChanged : function (e, data) { } }); });
Parameters
- e
- Standard jQuery event object
- data
- Information about an event
$(function () { // Set selectedDatesChanged event handler function $(".selector").wijcalendar({ selectedDatesChanged : function (e, data) { } }); });
$("#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()); }