Javascript NoGray Calendar not working with blocked dates using this.is_selectable() with onDateClick or onSelect
问题 I am having a problem with the NoGray Calendar using the onDateClick selection with this.is_selectable(). The calendar can be found at http://www.nogray.com/calendar.php. The problem I am having is that originally, when I reselected a date in the calendar that had already been selected, it unselected it, but using this fixed that: onDateClick: function(dt) { this.select_date(dt); } I got this fix from the answer to this was posted at Javascript Calendar deselecting date when date is selected