2024年2月8日发(作者:)
}
#name_trip { margin-left: 50px; color: red; } #pass-trip{ margin-left: 50px; color: red; }
p { margin-top: 30px; margin-left: 20px; color: azure; }
input { margin-left: 15px; border-radius: 5px; border-style: hidden; height: 30px; width: 140px; background-color: rgba(216, 191, 216, 0.5); outline: none; color: #f0edf3; padding-left: 10px; }
.button { border-color: cornsilk; background-color: rgba(100, 149, 237, .7); color: aliceblue; border-style: hidden; border-radius: 5px; width: 100px; height: 31px; font-size: 16px; } a { font-size: 17px; color:rgb(207, 48, 48); } .s{ text-align:center; color:aliceblue; }body部分
;css部分:
<script language="javascript" type="text/javascript"> mentById("b2").onclick = function click(){ ="登录.html"; } ge = function(){ var email = ; var reg = /^([a-zA-Z]|[0-9])(w|-)+@[a-zA-Z0-9]+.([a-zA-Z]{2,4})$/; if((email)){ alert("邮箱格式正确"); }else{ alert("邮箱格式不正确"); } } function namechange(){ var x=mentById("name").; if(x<=5){ alert("姓名格式正确"); }else{ alert("姓名格式不正确"); } } ge = function(){ var passworld = ; var reg = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,12}$/; if((passworld)){ alert("密码格式正确"); }else{ alert("密码格式不正确"); } } ge = function(){ var p1 = ; var p2 = mentById("passworld").value; if(p2==p1){ alert("两次密码相同"); }else{ alert("两次密码不相同"); } } function subm()
{ var na = mentById("name").value; var pword = mentById("passworld").value; var emai = mentById("email").value; m("username",na); m("password",pword); m("email",emai);
="登录.html"; }</script>
本文发布于:2024-02-08 11:29:16,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170736295667376.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |