whatapp下载
timothy1987 <form name="loginform"><input type="whatapp网页版怎么在网页登录text" name="user" id="user" />
<input type="password" name="whatapp网页版手机如何WhatsApp搜索不到联系人登录;pwd" id="pwd" />WhatsApp怎么双向删除消息
WhatsApp 阅读状态 <input type="submit" value="登陆" onclick="retwhatsapp用户urn judge();"/>
</form>
js函数:
function judge(){
var user = document.getElemenwhatsapp怎么搜索群组tById("user").value;
var pwd= document.getElementById("pwd").value;
if(user.trim() == "" || pwd.trim() == ""){
alert("用户和密码不能为空");
return false;
}else if(pwd.length < 6){
alert("密码不能低于6位");
return false;
}
return true;
} 634824700 var user = document.getElementById("user").valueOf();
var pwd = document.getElementById("pwd").valueOf();
if(pwd!=null&&pwd.length>5 && user!=null&&user.length>5){
alert("success");
}
你也可以将判断语句分开写 whatsapp怎么注册使用 mengywhatapp网页版二维码加好友usuisuinian <script>function $(id){return document.getElementById(id);}function trim(s){return s.replace(/(^\s*)|(\s*$)/g,"");}function Login(){whatsapp好友var user=$("user").value;var pwd=$("pwd").value;if(!trim(user)){alert(&quwhatapp网页版好友怎么群发ot;用户名不能为空");$("user").focus();returnwhatapp网页版软件 false;}if(!trim(pwd)){alert("密码不能为空");$("pwd").focus();return false;}if(pwd.length<6){alert("密码不能少于6位数");$("pwd").focus();return false;}if(pwd.length>16){alert("密码不能大于16位数")whatsapp 头像灰色;$("pwd").focus();return false;}$("loginform").submit();}</script><form name="loginform" id="loginform"><input type="text" name="user" id="user" /><input type="password" name="pwd&whatsapp全功能quot; whatsapp添加好友需要对方验证吗id=&quowhatsapp头像和名字t;pwd" &whatapp网页版软件怎么加好友#47;&whatapp网页版聊天界面是怎么样的gt;<input type="whatsapp 网页版登录了没退出button" value="提交" onclick=&quowhatsapp一直等待验证码t;Login();" /></form>
WhatsApp中文网页版 - WhatsApp官网请注明:WhatsApp中文网页版 - WhatsApp官网 » whatapp下载 写一个js函数检查页面中的登录用户名,密码是否为空,且密码长