gvalero87
gvalero87

Reputation: 875

jQuery UI datepicker css customization

Let's say I want to display a datepicker. This datepicker represents a disponibility calendar from an hotel room. Knowing this, I want before displaying fetch data from the server to know the disponibility (I know how to do this).

My question is: How can I change the css to show dates with disponibility different from the ones that doesn't have?.

Second Question: How can I disable clicking those ones that doesn't have rooms available.

Example: JetSetter calendar

Upvotes: 0

Views: 827

Answers (1)

ChristopheCVB
ChristopheCVB

Reputation: 7315

You can check this page to disable the days you want :

http://davidwalsh.name/jquery-datepicker-disable-days

Upvotes: 1

Related Questions