document.write("
用户名:密  码:Cookie:用户注册 忘记密码
") function CheckLoginForm(){ if(document.UserLogin.UserName.value==''){ alert('请输入用户名!'); document.UserLogin.UserName.focus(); return false; } if(document.UserLogin.Password.value == ''){ alert('请输入密码!'); document.UserLogin.Password.focus(); return false; } }