Demo entry 6641216

注册流程代码

   

Submitted by anonymous on Sep 16, 2017 at 12:18
Language: HTML. Code size: 985 Bytes.

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>会员注册</title>
</head>
<link href="../css/css1.css" rel="stylesheet" type="text/css">
<script language="javascript">
function checkEmpty(form){
for(i=0;i<form.length;i++)
{
if(form.elements[i].value=="")
{
alert("表单信息不能为空");
return false;
}
}
if(document.form.password.value!=document.form.passwordOne.value)
{
window.alert("您两次输入的密码不一致,请重新输入");
return false;
}
if(isNaN(document.form.age.value))
{
window.alert("年龄只能为数字");
return false;
}
}
<td width="105" height="35" bgcolor="#EFF6FE">
       <div align="center">会员名称</div>
       <td width="187"><div align="center">
          <input type="text" name="name">
         </div>
</td>
        </tr>
        <tr>
        <td height="35" bgcolor="#EFF6FE">
        <div align="center">会员密码</div></td>
        <td><div align="center">
        <input type="password" name="password">
        </div></td>
        </tr>

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).