摘要: //isNaN()函数判断是否是NaN if (isNaN(parseInt(x))) { alert("非数字"); } else{ alert("数字"); } </script> </html> 阅读全文
posted @ 2017-06-16 17:30 贝宝纸 阅读(911) 评论(0) 推荐(0) 编辑