only allow English characters and numbers for text input

前端 未结 7 740
旧巷少年郎
旧巷少年郎 2020-12-05 03:42

Live Demo: http://jsfiddle.net/thisizmonster/DveuB/

How can I change this so that the input only allows the characters A-Z, a-z, 0-9 while typing, without using a re

7条回答
  •  一生所求
    2020-12-05 04:12

    The ASCII Character Set : https://www.w3schools.com/charsets/ref_html_ascii.asp

提交回复
热议问题