如何避免键盘中没有的文本框中的特殊字符? [英] how to avoid special characters from textbox which is not in keyboard ?
本文介绍了如何避免键盘中没有的文本框中的特殊字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
如何避免使用javascript键盘不在文本框中的特殊字符。
示例: -
我的文本框获得价值?但我想阻止文本框获取这些值。
谢谢..
Hi
how to avoid special characters from textbox which is not in keyboard using javascript.
example:-
my textbox get value . but i want to prevent textbox getting these values.
Thanks..
推荐答案
使用快速谷歌搜索我发现了这样的事情:避免javascript中的特殊字符 [ ^ ]
Using quick google search i found some thing like this : avoid special characters in javascript[^]
这篇关于如何避免键盘中没有的文本框中的特殊字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文