⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reg.asp

📁 模块及功能: 1.汽车新闻 分类.查询.翻页 2.出售信息 搜索.评估.地区展示.发布.展示.固顶.刷新 3.求购信息 发布.展示.固顶.刷新 3.加盟商家管理 注册.登录.信
💻 ASP
📖 第 1 页 / 共 3 页
字号:
<!--#include file=byshop_conn.asp-->
<!--#include file=webhead.asp-->

<title><%=webname%>-加盟商注册</title>
<script type="text/javascript">
var xmlHttp;
function createXMLHttpRequest() {
    if (window.ActiveXObject) {
        xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
    } 
    else if (window.XMLHttpRequest) {
        xmlHttp = new XMLHttpRequest();
    }
}
    
function checkusername() {
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange1;
    xmlHttp.open("GET", "check/username.asp?username="+form1.username.value, true);
    xmlHttp.send(null);
    }
    function checkcompany() {
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange2;
    xmlHttp.open("GET", "check/company.asp?company="+form1.company.value, true);
    xmlHttp.send(null);
    }
      function checkpassword() {
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange3;
    xmlHttp.open("GET", "check/password.asp?password="+form1.password.value, true);
    xmlHttp.send(null);
}
   function checkrepassword() {
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange4;
    xmlHttp.open("GET", "check/repassword.asp?password="+form1.password.value+"&repassword="+form1.repassword.value, true);
    xmlHttp.send(null);
}
   function checkemail() {
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange5;
    xmlHttp.open("GET", "check/email.asp?email="+form1.email.value, true);
    xmlHttp.send(null);
}
   function checkrealname() {
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange6;
    xmlHttp.open("GET", "check/realname.asp?realname="+form1.realname.value, true);
    xmlHttp.send(null);
}
function checktel() {
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange7;
    xmlHttp.open("GET", "check/tel.asp?tel="+form1.tel.value, true);
    xmlHttp.send(null);
}
 function checkmobile() {
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange8;
    xmlHttp.open("GET", "check/mobile.asp?mobile="+form1.mobile.value, true);
    xmlHttp.send(null);
}
 function checkfax() {
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange9;
    xmlHttp.open("GET", "check/fax.asp?fax="+form1.fax.value, true);
    xmlHttp.send(null);
}
 function checkqq() {
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange10;
    xmlHttp.open("GET", "check/qq.asp?qq="+form1.qq.value, true);
    xmlHttp.send(null);
}
 function checkweb() {
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange11;
    xmlHttp.open("GET", "check/web.asp?web="+form1.web.value, true);
    xmlHttp.send(null);
}
 function checkoperation() {
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange12;
    xmlHttp.open("GET", "check/operation.asp?operation="+form1.operation.value, true);
    xmlHttp.send(null);
}
 function checkmessage() {
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange13;
    xmlHttp.open("GET", "check/message.asp?message="+form1.message.value, true);
    xmlHttp.send(null);
}
 function checkaddress() {
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange14;
    xmlHttp.open("GET", "check/address.asp?address="+form1.address.value, true);
    xmlHttp.send(null);
}




function handleStateChange1() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
         document.all['passport1'].innerHTML =xmlHttp.responseText;
       var a=xmlHttp.responseText;
 }
    }
}
function handleStateChange2() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
          document.all['passport2'].innerHTML =xmlHttp.responseText;
        }
    }
}
function handleStateChange3() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
          document.all['passport3'].innerHTML =xmlHttp.responseText;
        }
    }
}
function handleStateChange4() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
          document.all['passport4'].innerHTML =xmlHttp.responseText;
        }
    }
}
function handleStateChange5() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
          document.all['passport5'].innerHTML =xmlHttp.responseText;
        }
    }
}
function handleStateChange6() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
          document.all['passport6'].innerHTML =xmlHttp.responseText;
        }
    }
}
function handleStateChange7() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
          document.all['passport7'].innerHTML =xmlHttp.responseText;
        }
    }
}
function handleStateChange8() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
          document.all['passport8'].innerHTML =xmlHttp.responseText;
        }
    }
}
function handleStateChange9() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
          document.all['passport9'].innerHTML =xmlHttp.responseText;
        }
    }
}
function handleStateChange10() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
          document.all['passport10'].innerHTML =xmlHttp.responseText;
        }
    }
}
function handleStateChange11() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
          document.all['passport11'].innerHTML =xmlHttp.responseText;
        }
    }
}
function handleStateChange12() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
          document.all['passport12'].innerHTML =xmlHttp.responseText;
        }
    }
}
function handleStateChange13() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
          document.all['passport13'].innerHTML =xmlHttp.responseText;
        }
    }
}
function handleStateChange14() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
          document.all['passport14'].innerHTML =xmlHttp.responseText;
        }
    }
}

function slo(tx){
document.all[tx].style.border='1px #ffffff solid';
document.all[tx].style.color='#848484';
document.all[tx].style.paddingLeft='8px';
document.all[tx].style.paddingRight='5px';
document.all[tx].style.backgroundColor='#ffffff';
}
function sl(tx){
  document.all[tx].style.border='1px #22ADCE solid';
  document.all[tx].style.color='#006982';
  document.all[tx].style.paddingLeft='8px';
  document.all[tx].style.paddingRight='5px';
  document.all[tx].style.backgroundColor='#EEFAFD';
  if(tx=='passport1'){
    document.all[tx].innerHTML = "4-20 个字符 (包括大小写字母,中文,数字) 1个汉字等于2个字符,建使用中文昵称。注册后不可修改。";
  }
  if(tx=='passport2'){
    document.all[tx].innerHTML = "4-40 个字符 (包括大小写字母,中文,数字),注册后不可修改。";
    
  }
  if(tx=='passport3'){
    document.all[tx].innerHTML = "6-20 个字符。";
    
  }
  if(tx=='passport4'){
    document.all[tx].innerHTML = "重复输入一次上面的密码。";
    
  }
    if(tx=='passport5'){
    document.all[tx].innerHTML = "请正确填写您的常用电子邮件地址。";
    
  }

  if(tx=='passport6'){
    document.all[tx].innerHTML = "为了便于您的客户能及时联系到您,请您输入真实姓名。";
    
  }
  if(tx=='passport7'){
    document.all[tx].innerHTML = "您的电话号码,可不填。";
    
  }
  
  
   if(tx=='passport8'){
    document.all[tx].innerHTML = "您的手机号码,可不填。";
    
  }
    if(tx=='passport9'){
    document.all[tx].innerHTML = "您的传真号码,可不填。";
    
  }
    if(tx=='passport10'){
    document.all[tx].innerHTML = "您的QQ号码,可不填。";
    
  }
   if(tx=='passport11'){

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -