<title>休闲网登录页面</title>
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
<style type="text/css">
* {
padding: 0;
margin: 0;
}
body {
font-size: 12px;
color: #000;
line-height: 25px;
}
.main {
float: none;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
clear: both;
}
#header {
background-image: url(./images/bg.gif);
background-repeat: repeat-x;
height: 36px;
}
#headerLeft {
width: 200px;
float: left;
}
#headerRight {
width: 160px;
float: right;
color: #FFF;
}
#center {
width: 362px;
text-align: center;
margin-top: 20px;
margin-right: auto;
margin-bottom: 20px;
margin-left: auto;
}
.bg {
background-image: url(图片/dl_l_bg.gif);
background-repeat: repeat-y;
}
.inputs {
width: 110px;
height: 16px;
border: solid 1px #666666;
}
.bold {
font-size: 18px;
font-weight: bold;
text-align: center;
line-heigh
表单校验 点击登陆按钮的时候,触发验证
最新推荐文章于 2023-04-04 15:27:30 发布
这篇博客展示了如何使用JavaScript进行表单验证,特别是针对邮箱地址的验证。当用户点击登录按钮时,会触发checkEmail函数,该函数检查输入的邮箱是否包含'@'和'.',如果不满足条件则弹出警告,并阻止表单提交。
摘要由CSDN通过智能技术生成