onkeyup事件只能输入数字,字母,下划线

<input type="text" onkeyup="value=value.replace(/[\W]/g,'')"/>  

posted @ 2016-11-02 17:19  呦呦呦呦呦呦呦呦  阅读(770)  评论(0编辑  收藏  举报