i tried to disable months using jquery.mtz.monthpicker.js, but it disables specific months for all years, i want to disbale months of specific year.
My Code::
function Disablemonth() {
$("#monthpick").monthpicker({
pattern: 'mm.yyyy'
});
$("monthpick").monthpicker('disableMonths', [06, 08, 11, 3]);
}

Amit Kumar SinghRank #562 · 4.3K reputationPosted Feb 18, 2016, 11:52 PM EST
beforeShowDay: function(date) {
var month = date.getMonth()+1; // +1 because JS months start at 0
var day = date.getDate();
return [!(month == 8), ""];
}
});