<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>无标题文档</title><script language="javascript"> function add(){ 
<html ><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>二级联动菜单</title><script language="javascript"> function changeCit
isNaN函数:返回一个 Boolean 值,指明提供的值是否是保留值 NaN (不是数字)。 如果不是数字,返回true;如果是数字,返回false 如判断一个name属性为age的文本框的值应该在1到100之间 var age=document.form1.age.value; if(isNaN(age) || age>100 || age<1){
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号