需要注意的是,这两个将要批准的会员域应该有客户机端的javaScript 确认,以便不把它们作为空白域来传递。 if (theForm.username.value == "") { alert("Please enter the /"User Name/""); theForm.username.focus(); return (false); } if (theForm.passWord.value == "") { alert("Please enter the /"Password/""); theForm.password.focus(); return (false); }