限制 input 输入框只能输入纯数字

oninput = "value=value.replace(/[^\d]/g,'')"

posted @ 2018-11-14 14:53  expworld  阅读(140)  评论(0)    收藏  举报