JS判断文本框是否数字包括小数

onkeyup="if(isNaN(value))this.value=''"

posted @ 2018-07-18 15:45  rmhy  阅读(343)  评论(0编辑  收藏  举报