lucianocosta / jquery.mtz.monthpicker

Monthpicker, the missing JQuery widget.
http://lucianocosta.com.br/jquery.mtz.monthpicker
96 stars 57 forks source link

disableMonths is not working in jQuery 2.0.0 version #66

Open vrouth opened 8 years ago

vrouth commented 8 years ago

My code is like this,

var months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']; var current_month = new Date().getMonth(); months.splice(0, current_month); $('.from_date').monthpicker({ startYear: 1900, selectedYear: 2015, disabledMonths: months, });

Please help me for a way out...