正则表达式 只能输入整数

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

posted @ 2016-08-11 17:37  caozengling  阅读(5602)  评论(0编辑  收藏  举报