ajax 註冊頁面檢測效果,今天我們就來看看這種效果的吧.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>user reg</title>
<link href="../css_style/flash.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="load.js"></script>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
</head>
<body onload="check_data();">
<div id=reg>
<div id=regfont><div id=regwrite>You only need one minute into the time I registered members can enjoy our services, you can, to give us your views</div>
</div>
<div id=title><div id=st>Salutation</div></div>
<div class=thing>
<input name="salname" type="text" size="20" maxlength="35" id="text" onfocus="show('1')" onblur="send('1')"/>
<span class="STYLE1">* </span> </div>
<div id="salshow1">
</div>
<div id=lifont0></div>
<div id=title><div id=st>Name</div></div>
<div class=thing>
<input name="jatxwname" type="text" size="20" maxlength="35" id="text" onblur="check_id(this.value,'1');" />
<span class="STYLE1">* </span></div>
<div id=lifont1></div>
<div id=title><div id=st>Surname</div></div>
<div class=thing>
<input name="jatxwsurname" type="text" size="20" maxlength="35" id="text" onblur="check_id(this.value,'2');" />
<span class="STYLE1">* </span> </div>
<div id=lifont2></div>
<div id=title><div id=st>Company</div></div>
<div class=thing>
<input name="jatxwcompany" type="text" size="20" maxlength="35" id="text" onblur="check_id(this.value,'3');"/>
<span class="STYLE1">* </span></div>
<div id=lifont3></div>
<div id=title><div id=st>Title</div></div>
<div class=thing>
<input name="jatxwtitle" type="text" size="20" maxlength="35" id="text"onblur="check_id(this.value,'4');" />
<span class="STYLE1">* </span></div>
<div id=lifont4></div>
<div id=title><div id=st>Company Industry</div></div>
<div class=thing>
<input name="companyindustry" type="text" size="20" maxlength="35" id="text" onfocus="show('2')" onblur="send('2')"/>
<span class="STYLE1">* </span> </div>
<div id="salshow2">
</div>
<div id=lifont5></div>
<div id=title><div id=st>Tel</div></div>
<div class=thing>
<input name="jatxwtel" type="text" size="20" maxlength="35" id="text" onblur="number(this.value,'6')"/>
<span class="STYLE1">* </span></div>
<div id=lifont6></div>
<div id=title><div id=st>Fax</div></div>
<div class=thing>
<input name="jatxwtel" type="text" size="20" maxlength="35" id="text" onblur="number(this.value,'7')"/>
<span class="STYLE1">* </span></div>
<div id=lifont7></div>
<div id=title><div id=st>Email</div></div>
<div class=thing>
<input name="jatxwemail" type="text" size="20" maxlength="35" id="text" onblur="check_email(this.value,'8')"/>
<span class="STYLE1">* </span></div>
<div id=lifont8></div>
<div id=title><div id=st>code</div></div>
<div class=thing> <input name="inputcode" type="text" size="20" maxlength="35" id="textcode" onblur="gocode()"/><div id=code></div><script language=javascript>createCode();</script></div>
<div id=lifont9></div>
<br>
<div id=fcc>
Registration of our members constitutes acceptance of our<br>
<a href="le.html" target="_blank">Terms and Conditions of Use</a> and <a href="pl.html" target="_blank">Privacy Policy</a>.
</div>
<br>
<div align=center><input type="button" value="submit" name="submitdata" class="fl"></div>
</div>
</body>
</html>
這是reg.html頁面,