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

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

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