<input name="authcode" type="text" onkeyup="this.value=this.value.replace(/[^a-zA-Z0-9]/g,'');" />
详细解决方案
js简略过滤输入文本框的文字
热度:136 发布时间:2012-10-24 14:15:58.0
相关解决方案
<input name="authcode" type="text" onkeyup="this.value=this.value.replace(/[^a-zA-Z0-9]/g,'');" />