and the javascript code is
$('#calendar').calendar({
customDayRenderer: function (element, date) {
if (date.getDay() == w1 || date.getDay() == w2) {
$(element).css('color', 'red');
}
}
});
when I run the page the calendar is showing but the red color for the days are not working and when I replace the data-provider attribute in div with id like
the above javascript code is working
I want to work with customDayRenderer and datasource and clickDay options
Can any one suggest me the how to work
and the javascript code is $('#calendar').calendar({ customDayRenderer: function (element, date) { if (date.getDay() == w1 || date.getDay() == w2) { $(element).css('color', 'red'); } } }); when I run the page the calendar is showing but the red color for the days are not working and when I replace the data-provider attribute in div with id like
the above javascript code is working I want to work with customDayRenderer and datasource and clickDay options Can any one suggest me the how to work