- function CheckForm()
- {
- if(document.Login.username.value=="")
- {
- alert("请输入用户名!");
- document.Login.username.focus();
- return false;
- }
- if(document.Login.password.value == "")
- {
- alert("请输入密码!");
- document.Login.password.focus();
- return false;
- }
- }
- // JavaScript Document
|