function subUser(){ var username=$("#uname").val(); var password=$("#upwd").val(); var checkCode=$("#checkCode").val(); if(username==""){ $("#msg").html("Please enter your username!"); $("#uname").focus(); return false; }else if(password==""){ $("#msg").html("Please enter Password!"); $("#upwd").focus(); return false; }else if(checkCode==''){ $("#msg") .html("Please enter the verification code!"); $("#checkCode").focus(); return false; }else{ document.loginform.submit(); return false; } return false; }
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn