views:

193

answers:

1

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.

+1  A: 

I would make use of the beforeShowDay event to deal with this.

http://jqueryui.com/demos/datepicker/#event-beforeShowDay

ScottE