function checkinput() {
var un =  document.getElementById("name").value;
if(un == ""){
alert("用户名不可以为空");
return false;
}

var pwd1 =  document.getElementById("password").value;
if(pwd1 == ""){
      alert("密码不可以为空");
      return false;
}
    return true;
}
