只输入数字

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