input限制整数

<input onkeyup="value=value.replace(/[^\d]/g,'')">
posted on 2018-07-26 15:35  _zxd  阅读(340)  评论(0编辑  收藏  举报