Default calendar
Use data-calendar attribute on a date field for automatic initialization
Alternative calendar
Use also data-min-years and (or) data-max-years attributes on a date field for customize
Customize calendar
Initialize from the plugin, also deactivating days with min attribut
Deactivating days with max attribut
Deactivating days with min and max attribut
Plugin calendar
$('.custom-date').calendar({
start: 1,
calendar: '#date_1',
disableWeekends: true,
onClick: function(year, month, day, isWeekEnd) {
alert(year + '-' + month + '-' + day + ' : ' + isWeekEnd);
}
});