开发者

How to restrict textinput to accept all (including special characters) except numbers?

I have a text field (for names) which must allow all characters, except Latin numbers, i开发者_JS百科s this possible?

I can't think of a regex for this.


You can add a key up event handler to the text field and run a replace using the regex that zombiegx mentioned.


So I didn't really thought this thru

^[0-9]

... >_>

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜