验证中...
Languages: HTML
Categories: 编程语言基础
Latest update 2019-06-25 10:20
只能输入数字
Raw Copy
<input onkeyup="value=value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" >

Comment list( 0 )

You need to Sign in for post a comment

Help Search