禁止输入中文

obj.value=obj.value.replace(/[u4E00-u9FA5]|[uFE30-uFFA0]/g,''); 
原文地址:https://www.cnblogs.com/swt-axios/p/13677616.html