jQuery AlphaNumeric 介绍
Did you ever found a need where you want to prevent your user from entering
certain characters?
Looking at the plugins available at jQuery, i found a great plugin by Sam
Collet called Numeric.
But it was too limited, what if I’m asking the user to create a username? or
to enter a number with decimals or an IP Address? There is another great
plugin called Masked Input by Josh Bush, which can also control user input by
defining a mask. but the problem was the length of text to be input must be
defined as well. Again, what if I needed to control input of a username? I
can’t tell how many characters the user will be using, and I can’t force him
to use just 8 characters ,so I created AlphaNumeric.
jQuery AlphaNumeric is a javascript control plugin that allows you to limit
what characters a user can enter on textBoxes or textareas. Have fun.
jQuery AlphaNumeric 官网
http://plugins.jquery.com/project/aphanumeric
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。