﹤input onkeyup="value="/oblog/value.replace(/[^\u4E00-\u9FA5]/g,'')"﹥
微信里点“发现”,扫一下
二维码便可将本文分享至朋友圈。
过滤掉汉字吧。
感觉你的代码 有问题
表示该输入框只能输入汉字。