How to disable specific months of a particular year in Jquer

Feb 19 2016 4:22 AM
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]);
}

Answers (1)