Hi
I'm trying to try to disable all dates except for the last date of the month for a range. I add the range ok but all dates are enabled. I just need last date of month. I'm using Jquery. Is there a way to do this with the datepicker?
$(document).ready(function () {
$("#datepicker").kendoDatePicker({
min: new Date(),
min: new Date(),
format: "MM/dd/yyyy",
type: "date",
change: function(e) {
var value = this.value();
var days = value.getDate();
var d = new Date();
d = value;
d.setDate(d.getDate() - days + 1, 0);
console.log(d);
},
value: "d"
});
});