document.writeln("
"); document.writeln(" ID:"); document.writeln(" "); document.writeln(" 密码:"); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" <\/form>") function CheckForm() { if(document.UserLoginForm.UserName.value=="") { alert("请输入您的用户名!"); document.UserLoginForm.UserName.focus(); return false; } if(document.UserLoginForm.Password.value == "") { alert("请输入您的密码"); document.UserLoginForm.Password.focus(); return false; } }