Input输入框 限制只能输入数字

<input type="text" oninput = "value=value.replace(/[^\d]/g,'')">
相关文章
相关标签/搜索