只输入数字

onkeyup="value=value.replace(/[^\d\.]/g,'') "
posted @ 2012-09-14 17:19  cn_king  阅读(140)  评论(0)    收藏  举报