input text 只能输入数字

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

 

posted @ 2018-11-30 09:39  kuangx  阅读(1259)  评论(0编辑  收藏  举报