function CheckForm2(formnew)
{
if (formnew.townname2.value.length == 0) {
alert("请输入名称.");
document.formnew.townname2.focus;
return false;
}
return true;
}
</script><form name="form1" method="post" action=".asp" onSubmit="return CheckForm2(this);">
这样即可!
{
if (formnew.townname2.value.length == 0) {
alert("请输入名称.");
document.formnew.townname2.focus;
return false;
}
return true;
}
</script><form name="form1" method="post" action=".asp" onSubmit="return CheckForm2(this);">
这样即可!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货