Re: [請益] 關於彈跳視窗~

看板PHP作者 ( )時間17年前 (2007/01/06 17:46), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串5/5 (看更多)
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=big5"> <title>數量</title> <script language="javascript"> function check1(){ if( form1.id.value==""){ alert("請輸入數量再送出"); return; } else{ form1.submit(); } } </script> </head> <body> <form name="form1" method="post" action="license.php"> 數量 <p><input type="text" name="id"> <input type="button" name="go" value="送出" onClick="check1()"> </p> </form> </body> </html> 我自己都是用這樣來作的 -- 寒霜夜冷宿江客,談笑撥弦步風中 玲瓏曲韻隨手起,瑤光聲色譜樂章 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.229.40.89

01/07 08:08, , 1F
謝謝教導~~~我已經會了^^
01/07 08:08, 1F
文章代碼(AID): #15ds_eIR (PHP)
文章代碼(AID): #15ds_eIR (PHP)