限定文本框只能输入数字

在input中加入下面代码 : 0nKeyPress="if (event.keyCode<48 || event.keyCode>57) event.returnValue=false“input

相关文章
相关标签/搜索