1
Reply

How to disable specific months of a particular year in Jquer

jagadeesh marlapati

jagadeesh marlapati

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