jQuery Datepicker - 设置帮助
我正在使用 jQuery Datepicker 插件,但在纠正这个独特的规则时遇到了麻烦。
我需要一条规则来验证今天中午 12:00 后是否禁用。
这应该在当前 AEST 时间进行验证。
添加 jquery validate 并使用它进行验证会更容易吗?
I am using the jQuery Datepicker plugin and I'm having trouble righting out this unique rule.
I need a rule that validates if after 12:00pm disable today
This should be validated on the current AEST time.
Would it be easier to add jquery validate and use that for the validation instead?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这会将日期选择器范围设置为今天日期之后的任意一天。但是,您仍然应该验证客户端和服务器端。
如果这就是您要查找的内容,请选中该答案旁边的复选标记。谢谢!
This will set the date picker range to any day after today's date. You should still validate client and server side however.
If this is what you are looking for, please select the check mark next to this answer. Thanks!