register.php
注册 <script> <br>function check(){ <br> var psw1=document.getElementById("psw1"); <br> var psw2=document.getElementById("psw2"); <br> if(psw1.value!=psw2.value) <br> psw2.setCustomValidity("两次密码不一致"); <br> return false; <br>} <br> </script>
欢迎注册