Paul-DS / bootstrap-year-calendar

[DEPRECATED] A fully customizable year calendar widget, for boostrap !
Apache License 2.0
293 stars 243 forks source link

Get Disabled Value #166

Open garimatewari opened 7 years ago

garimatewari commented 7 years ago

$(function() { var currentYear = new Date().getFullYear();

$('#calendar').calendar({
    disabledDays: [
        new Date(currentYear,1,2),
        new Date(currentYear,1,3),
        new Date(currentYear,1,8),

    ]
});

});

I wanted to click to the disabled date and alert it gives the specific value.

For this , I used the getDisabledDays(for value) but it gives multiple value. But I want the single value of the date.