<input type="text" oninput="this.value = this.value.replace(/[\u4e00-\u9fa5d]/g, '');">
转载于:https://www.cnblogs.com/family-626-77/p/9002412.html
<input type="text" oninput="this.value = this.value.replace(/[\u4e00-\u9fa5d]/g, '');">
转载于:https://www.cnblogs.com/family-626-77/p/9002412.html