if(!checknumeric(document.form1.age.value))
{
alert("ageasg is not legal");
return false;
}//判断是否是数字