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

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

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