I have a date in the future which is always 30 days ahead of the current date. It\'s stored in a Date object. I worked this out using:
var currentDate = new
for disable cell on click (version 2.0) :
dayRender: function( date, cell ) {
// It's an example, do your own test here
if(cell.hasClass("fc-other-month")) {
cell.addClass('disabled');
}
},
dayClick: function(date, jsEvent, view) {
if($(jsEvent.target).hasClass("disabled")){
return false;
}
// Your code
// ....
}