kikakuu
訪客
|
 |
檢測帳號...
« 於: 2005-03-09, 01:03:47 » |
|
<html>
<head> <title>新會員註冊系統</title> </head>
<body background="a.jpg">
<form method="POST" action="addnew.asp"> <p align="center">
<font face="華康少女文字W7(P)"><font size="6" color="#000080">加入會員</font>
<img border="0" src="1.gif" width="435" height="15"> </font>
<center> <table border="1" width="53%" height="254"> <tr> <td width="27%" align="right" height="23"><font color="#000080" size="2" face="華康少女文字W7(P)">申請帳號:</font></td> <td width="73%" align="left" height="23"> <p align="left"><input type="text" name="id" size="19"> <form method="POST" action="addnew1.asp"> <input type="button" value="檢查帳號" name="B3"></form></td> </tr> <tr> <td width="27%" align="right" height="23"><font color="#000080" size="2" face="華康少女文字W7(P)">輸入密碼:</font></td> <td width="73%" align="left" height="23"><input type="password" name="pass1" size="20"></td> </tr> <tr> <td width="27%" align="right" height="23"><font color="#000080" size="2" face="華康少女文字W7(P)">密碼確認:</font></td> <td width="73%" align="left" height="23"><input type="password" name="pass2" size="20"></td> </tr> <tr> <td width="27%" align="right" height="23"><font color="#000080" size="2" face="華康少女文字W7(P)"> 姓 名:</font></td> <td width="73%" align="left" height="23"><input type="text" name="name" size="19"></td> </tr> <tr> <td width="27%" align="right" height="23"><font color="#000080" size="2" face="華康少女文字W7(P)">姓 別:</font></td> <td width="73%" align="left" height="23"> <font face="華康少女文字W7(P)" color="#000080"> 男</font><input type="radio" name="sex" value="男"> <font face="華康少女文字W7(P)" color="#000080"> 女</font><input type="radio" name="sex" value="女"> </td> </tr> <tr> <td width="27%" align="right" height="23"><font color="#000080" size="2" face="華康少女文字W7(P)"> 地 址:</font></td> <td width="73%" align="left" height="23"><input type="text" name="address" size="19"></td> </tr> <tr> <td width="27%" align="right" height="23"> <p align="right"><font color="#000080" size="2" face="華康少女文字W7(P)">電子信箱:</font></td> <td width="73%" align="left" height="23"><input type="text" name="mail" size="19"></td> </tr> </center> </table> <p> </p> <p align="center"><input type="submit" value="確定送出" name="B1"><input type="reset" value="重新設定" name="B2"></p> </form>
</body>
</html>
這是小弟的html... 在表單中有一個檢測帳號有沒有重覆的按紐.. 但程式要如何寫呢.... 想要按下按紐會出現一個小視窗來提醒有沒有重覆
|