newuser.asp
Upload User: jtjx586
Upload Date: 2022-01-11
Package Size: 686k
Code Size: 2k
Category:

ICQ-IM-Chat

Development Platform:

EasyLanguage易语言

  1. <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>无标题文档</title>
  7. </head>
  8. <body>
  9. <form onSubmit="return Check(this)">
  10.     <script language="javascript">
  11.     <!--
  12.         function Check(form1)
  13.         {
  14.          var Notnull
  15.          Notnull=true
  16.          if(form1.uid.value=="")
  17.          {
  18.            window.alert("请数账号")
  19.            Notnull=false
  20.          }
  21.          if (form1.pwd1.value=="")
  22.          {
  23.            window.alert("请数密码")
  24.            Notnull=false
  25.          }
  26.          if (form1.pwd2.value!=form1.pwd1.value)
  27.          {
  28.            window.alert("输入的两次密码必须相同")
  29.            Notnull=false
  30.          }
  31.          if (form1.nickname.value=="")
  32.          {
  33.            window.alert("昵称不空")
  34.            Notnull=false
  35.          }
  36.          return Notnull
  37.        }
  38.        //-->
  39.     </script>
  40. <form id="form1" name="form1" method="post" action="">
  41.   <label></label>
  42.   <p align="center">用户账号:
  43.     <input type="text" name="textfield" id="textfield" />
  44.   </p>
  45.   <p align="center">
  46.     <label>
  47.     密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 码:
  48.     <input type="text" name="textfield2" id="textfield2" />
  49.     </label>
  50.   </p>
  51.   <p align="center">
  52.     <label>确认密码:
  53.     <input type="text" name="textfield4" id="textfield4" />
  54.     </label>
  55.   </p>
  56.   <p align="center">
  57.     <label>
  58.     昵&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 称:
  59.     <input type="text" name="textfield3" id="textfield3" />
  60.     </label>
  61. </p>
  62.   <p align="center">
  63.     <label>
  64.     <input type="submit" name="button" id="button" value="提交" />
  65.     </label>
  66.     <label>
  67.     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  68.     <input type="submit" name="button2" id="button2" value="清除" />
  69.     </label>
  70.   </p>
  71. </form>
  72. </body>
  73. </html>