网站地图| 免费获取|
毕业论文网
  • 网站首页|
  • 论文范文|
  • 论文降重|
  • 职称论文发表|
  • 合作期刊|
  • 论文下载|
  • 计算机论文|
  • 外文翻译|
  • 免费论文|
  • 论文资料|
  • 论文开题报告
搜索

当前位置:毕业论文网 -> 免费论文 -> 计算机论文 -> ASP网上购书(六)
计算机论文资料| ASP设计| Delphi| VB设计| JSP设计| ASP.NET设计| VB.NET| java设计| VC| pb| VS| dreamweaver| c#.net| vf| VC++| 计算机论文范文| 论文下载| 自动化论文

ASP网上购书(六)

最新活动:微信集50个赞就可获取任意一篇钻石会员文档。详情见微信集赞换文档
ASP网上购书(六) ont></a> </font></td></tr></table></td></tr></table>"
end sub
‘同意条约后进入下一个注册画面,注册画面的主要代码:请看[附件1]
‘如果[用户名]为空则显示错误信息,同时跳出下列子程序
function check()
{
   if(checkspace(document.userinfo.username.value)) {
 document.userinfo.username.focus();
    alert("用户名不能为空,请重新输入!");
 return false;
  },
‘如果[用户名]有所输入,但是输入的长度小于四,则会跳出:
if(checkspace(document.userinfo.username.value) || document.userinfo.username.value.length < 4) {
 document.userinfo.username.focus();
    alert("用户名长度不能小于4,请重新输入!");
 return false;
‘如果没有输入密码,或者密码的长度<6则会跳出:
if(checkspace(document.userinfo.userpassword.value) || document.userinfo.userpassword.value.length < 6) {
 document.userinfo.userpassword.focus();
    alert("密码长度不能小于6,请重新输入!");
 return false;
‘如果输入密码后,没有输入[确认密码]则会跳出:
if(document.userinfo.userpassword.value != document.userinfo.userpassword1.value) {
 document.userinfo.userpassword.focus();
 document.userinfo.userpassword.value = '';
 document.userinfo.userpassword1.value = '';
    alert("两次输入的密码不同,请重新输入!");
 return false;
确定后[输入密码]处的密码清空,其它不变
‘如果没有输入[Email]地址或者少了“@”字样,则会出现“Email地址格式不正确”跳出:
if(document.userinfo.useremail.value.length!=0)
  {
    if (document.userinfo.useremail.value.charAt(0)=="." ||       
         document.userinfo.useremail.value.charAt(0)=="@"||      
         document.userinfo.useremail.value.indexOf('@', 0) == -1 ||
         document.userinfo.useremail.value.indexOf('.', 0) == -1 ||
         document.userinfo.useremail.value.lastIndexOf("@")==document.userinfo.useremail.value.length-1 ||
         document.userinfo.useremail.value.lastIndexOf(".")==document.userinfo.useremail.value.length-1) {
      alert("Email地址格式不正确!");
      document.userinfo.useremail.focus();
      return false;
      }}
 else
  {
   alert("Email不能为空!");
   document.userinfo.useremail.focus();
   return false;
   }}
‘如果正确填写完后,显示恭喜成功页面,并且返回首页
response.Write "<table width=776 border=0 align=center cellpadding=0 cellspacing=1 bgcolor=#D0E2FD><tr><td height=100 bgcolor=#FFFFFF>"
response.Write "<table width=90% border=0 align=center cellpadding=0 cellspacing=0><tr><td height=80 bgcolor=#EFF5FE class=pad><font color=#cb6f00>用户注册成功</font><br>"
response.Write "恭喜"&request.Cookies("bookshop")("username")&",您已注册成为《"&webname&"》正式用户,请进行下一步操作:<br>"
response.Write "·<a href=myuser.asp?action=shouhuoxx>填写收货人详细资料</a><br>·<a href=index.

首页 上一页 3 4 5 6 7 8 9 下一页 尾页 6/12/12

ASP网上购书(六)由毕业论文网(www.huoyuandh.com)会员上传。
原创论文资料流程 相关论文
上一篇:ASP同学录设计asp+sql 下一篇:ASP新闻网程序+文档
推荐论文 本专业最新论文
Tags:ASP 网上购书 2010-04-15 21:29:16【返回顶部】
精彩推荐
发表论文

联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 硕士论文资料


毕业论文网提供论文范文,论文代发,原创论文资料

本站部分文章来自网友投稿上传,如发现侵犯了您的版权,请联系指出,本站及时确认并删除  E-mail: 17304545@qq.com

Copyright@ 2009-2020 毕业论文网 版权所有