来自于菜鸟教程,便于查找
javascript
function IFsz()
{
var x=document.getElementById("demo").value;
if(x==""||isNaN(x))
{
alert("不是数字");
}
}
来自于菜鸟教程,便于查找
javascript
function IFsz()
{
var x=document.getElementById("demo").value;
if(x==""||isNaN(x))
{
alert("不是数字");
}
}