验证日期不应大于jquery中的今天日期 [英] validate date should not be greater than todays date in jquery

查看:63
本文介绍了验证日期不应大于jquery中的今天日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序中有一个rad日期选择器。我想验证它,因为它不应该大于今天的日期..



im新到j查询

帮助我

i have a rad date picker in my application. i want to validate it as it should not be greater than todays date ..

i m new to j query
help me

推荐答案

为此,为什么需要jquery?您可以在后面的代码中直接设置 RadDatePicker MaxDate 属性。

请参阅:

For this, why you need jquery? You can directly set the MaxDate property of RadDatePicker in code behind.
See this:
RadDatePicker1.MaxDate = DateTime.Now;//Max date for selection is current date





我希望你理解。

--Amit


试试这个链接

http://www.codefactorycr.com/custom-rules-jquery-validation.html [ ^ ]



希望这有帮助
Try this link
http://www.codefactorycr.com/custom-rules-jquery-validation.html[^]

Hope this helps


这篇关于验证日期不应大于jquery中的今天日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆