I'm writing an app for reserving training facilities, and I want to be able to let the instructor reserving a facility know when the facility is already reserved for a given date.
我正在编写一个用于预留培训设施的应用程序,我希望能够让教师预订设施知道该设施何时已经预留给定日期。
I'm using the jquery-UI datepicker plugin, and I want to be able to style the table cells for these reserved dates differently. I just can't figure out how to pass the dates into the plugin so I can change the class for those dates on the calendar.
我正在使用jquery-UI datepicker插件,我希望能够以不同方式为这些保留日期设置表格单元格。我只是无法弄清楚如何将日期传递到插件中,以便我可以在日历上更改这些日期的类。
1 个解决方案
#1
I would make use of the beforeShowDay event to deal with this.
我会利用beforeShowDay事件来处理这个问题。
#1
I would make use of the beforeShowDay event to deal with this.
我会利用beforeShowDay事件来处理这个问题。