时间输入字段 [英] Time Input Field
本文介绍了时间输入字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在构建一个接受时间值HH:MM的表单,我如何过滤用户输入并在文本字段中显示冒号?我想我正在寻找某种过滤的输入框。
I am building a form to accept a time value HH:MM, how can I filter the user input and show the colon in the text field? I guess I'm looking for some kind of filtered input box.
推荐答案
那通常被称为 Input Mask ,做一些 google搜索。编辑:似乎有一个输入掩码jquery插件
Thats commonly referred to as an Input Mask, do some googling on it. There appears to be an input mask jquery plugin
这篇关于时间输入字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文