1.只能输入数字
<input onkeyup="value=value.replace(/[^\d]/g,'') " onbeforepaste="window.clipboardData.setData('text',window.clipboardData.getData('text').replace(/[^\d]/g,''))"><input onkeyup="value=value.repl1.只能输入数字
<input onkeyup="value=value.replace(/[^\d]/g,'') " onbeforepaste="window.clipboardData.setData('text',window.clipboardData.getData('text').replace(/[^\d]/g,''))"><input onkeyup="value=value.repl