<form action="xx.asp" method="post">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password"><br>
<input type="submit" value="提交">
</form><SCRIPT LANGUAGE="JavaScript">
<!--
document.forms[0].onsubmit=function()
{
var num=document.forms[0].elements.length;
for(i=0;i<num;i++)
{
if(document.forms[0].elements[i].value.replace(/^\s*$/g,'')=="")
{
alert("请把表单各项填写完整!!");
document.forms[0].elements[i].focus();
return false;
}
}
return true;
}
//-->
</SCRIPT>
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password">
<input type="text" >
<input type="password"><br>
<input type="submit" value="提交">
</form><SCRIPT LANGUAGE="JavaScript">
<!--
document.forms[0].onsubmit=function()
{
var num=document.forms[0].elements.length;
for(i=0;i<num;i++)
{
if(document.forms[0].elements[i].value.replace(/^\s*$/g,'')=="")
{
alert("请把表单各项填写完整!!");
document.forms[0].elements[i].focus();
return false;
}
}
return true;
}
//-->
</SCRIPT>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货