<div class="codetitle"> <span><a style="CURSOR: pointer" data="24671" class="copybut" id="copybut24671" onclick="doCopy('code24671')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code24671"> <br> <br><br> <br> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <br> <title>簡訊系統</title> <br><script language="javascript"> if(document.form.zhanghao .value==""){<BR> alert("號碼不能為空!");<BR> return false;<BR> }else if(document. form.email.value==""){<BR> alert("內容為空白!")<BR> this.form1.eamil.focus();<BR> form1.submit(); <BR>}<BR> </script><br> 頭> <br><br> <br> <form name="form" method="post" action="sendmail.php" class="formg"> <br> <br> <br> 🎜 ><br> <tr bgcolor="##"> <br> ">號 碼: td><br> "15" id="zhanghao" class="formh"><br> </tr> <tr bgcolor="#eeeeee"> <br> :<br> > </tr> <br> <br> 🎜> <td height="25" colspan="2"> <br> 」 " name="Submit" value="發 送" class="button" onClick="javascript:formcheck();"> <br> class ="按鈕"><br> </td> <br> <br> <br> </form> <br> <br> > <br><br> </div>