使用jQuery的日期掩码 [英] Date mask with jQuery
本文介绍了使用jQuery的日期掩码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
寻找一个面具,我可以输入dd / mm / yyyy(dd限制为31,mm为12)我尝试了几次但可以输入24/24/2024
Looking for a mask where I can enter dd/mm/yyyy (with a limit of 31 for dd, 12 for mm) I tried several but possible to enter 24/24/2024
谢谢,
推荐答案
我使用 masked-input-plugin 并使用表单的其余部分单独处理验证。
I use masked-input-plugin and handle validation separately with the rest of the form.
这篇关于使用jQuery的日期掩码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文