<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>