[英]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?. 我的问题是:如何更改CSS以显示具有无责任感的日期与没有日期的日期不同?
Second Question: How can I disable clicking those ones that doesn't have rooms available. 第二个问题:如何禁用没有可用房间的单击。
Example: JetSetter calendar 示例: JetSetter日历
You can check this page to disable the days you want : 您可以检查此页面以禁用所需的日期:
http://davidwalsh.name/jquery-datepicker-disable-days http://davidwalsh.name/jquery-datepicker-disable-days
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.