~請問一下~關於下拉式選單

edited 十月 2013 in Javascript
向這樣的下拉式選單如何在旁邊輸入一個新年度按新增就會加入ㄋ用php

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>各 學 制 課 程</title>

<!-- ======== 下拉選單前置======== -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function formHandler(form) {
var windowprops = "height=500,width=700,location=yes,"
+ "scrollbars=yes,menubars=no,toolbars=no,resizable=yes";
var URL = form.site.options[form.site.selectedIndex].value;
popup = window.open(URL,"_blank",windowprops);
}
// End -->
</SCRIPT>

</head>

<body>

<div class=Section1>

<p><span lang=EN-US><o:p></o:p></span></p>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<div align=center>

        <table class=MsoNormalTable border=1 cellpadding=0 width=1439 style='width:545.55pt;
 mso-cellspacing:1.5pt;border:outset 2.25pt;mso-padding-alt:7.5pt 7.5pt 7.5pt 7.5pt'
 height=223>
          <tr style='mso-yfti-irow:0;height:16.5pt'> 
            <td width=723 colspan=5 style='width:542.55pt;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:16.5pt'> <p class=MsoNormal align=center style='text-align:center'><b><span
  style='font-size:18.0pt;color:#990000'>各 學 制 課 程</span></b><span lang=EN-US 
  style='font-size:18.0pt'><o:p></o:p></span></p></td>
          </tr>
          <tr style='mso-yfti-irow:1;height:7.35pt'> 
            <td width=196 style='width:146.75pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:7.35pt'> <p class=MsoNormal align=center style='text-align:center'><b
  style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-family:"Times New Roman";
  color:navy'><o:p>&nbsp;</o:p></span></b></p></td>
            <td width=174 style='width:130.15pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:7.35pt'> <p class=MsoNormal align=center style='text-align:center'><b
  style='mso-bidi-font-weight:normal'><span style='mso-ascii-font-family:&quot;Times New Roman&quot;; mso-hansi-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;; color:navy'>五</span><span style='mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman";mso-bidi-font-family:"Times New Roman";
  color:navy'>專</span><span
  lang=EN-US style='font-family:"Times New Roman";color:navy'><o:p></o:p></span></b></p></td>
            <td width=178 style='width:133.7pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:7.35pt'> <p class=MsoNormal align=center style='text-align:center'><b
  style='mso-bidi-font-weight:normal'><span style='mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman";mso-bidi-font-family:"Times New Roman";
  color:navy'>四技</span><span
  lang=EN-US style='font-family:"Times New Roman";color:navy'><o:p></o:p></span></b></p></td>
            <td width=170 style='width:127.45pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:7.35pt'><div align="center"><b
  style='mso-bidi-font-weight:normal'><span style='mso-ascii-font-family:&quot;Times New Roman&quot;; mso-hansi-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;; color:navy'>二專</span></b></div></td>
            <td width=170 style='width:127.45pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:7.35pt'> <p class=MsoNormal align=center style='text-align:center'><b
  style='mso-bidi-font-weight:normal'><span style='mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman";mso-bidi-font-family:"Times New Roman";
  color:navy'>二技</span><span
  lang=EN-US style='font-family:"Times New Roman";color:navy'><o:p></o:p></span></b></p></td>
          </tr>
          <tr style='mso-yfti-irow:2;height:62.25pt'> 
            <td width=196 style='width:146.75pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:62.25pt'> <p class=MsoNormal align=center style='text-align:center'><b
  style='mso-bidi-font-weight:normal'><span style='mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman";mso-bidi-font-family:"Times New Roman";
  color:navy'>日間部</span><span
  lang=EN-US style='font-family:"Times New Roman";color:navy'><o:p></o:p></span></b></p></td>
            <td width=174 style='width:130.15pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:62.25pt'> &#12288;
  
  <FORM NAME=FORM><select name=site onChange="formHandler(this.form)" style="font-size : 8pt;font-family : Verdana;color: #666666;">
<option value="http://tw.yahoo.com">94學年度</option>;
<option value="http://tw.yahoo.com">93學年度</option>;
<option value="http://tw.yahoo.com">92學年度</option>;
<option value="http://tw.yahoo.com">91學年度</option>;
<option value="http://tw.yahoo.com">90學年度</option>;
    </SELECT></FORM></td>
    
            <td width=178 style='width:133.7pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:62.25pt'> 
              &#12288;
              
              <FORM NAME=FORM><select name=site onChange="formHandler(this.form)" style="font-size : 8pt;font-family : Verdana;color: #666666;">
<option value="http://tw.yahoo.com">94學年度</option>;
<option value="http://tw.yahoo.com">93學年度</option>;
<option value="http://tw.yahoo.com">92學年度</option>;
<option value="http://tw.yahoo.com">91學年度</option>;
<option value="http://tw.yahoo.com">90學年度</option>;
    </SELECT></FORM></td></td>
    
            <td width=170 style='width:127.45pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:62.25pt'>
            &#12288;
             <FORM NAME=FORM><select name=site onChange="formHandler(this.form)" style="font-size : 8pt;font-family : Verdana;color: #666666;">
<option value="http://tw.yahoo.com">94學年度</option>;
<option value="http://tw.yahoo.com">93學年度</option>;
    </SELECT></FORM></td>

            </td>
            <td width=170 style='width:127.45pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:62.25pt'> &#12288;
              <FORM NAME=FORM><select name=site onChange="formHandler(this.form)" style="font-size : 8pt;font-family : Verdana;color: #666666;">
<option value="http://tw.yahoo.com">94學年度</option>;
<option value="http://tw.yahoo.com">93學年度</option>;
    </SELECT></FORM></td>

  </td>
          </tr>
          <tr style='mso-yfti-irow:3;height:32.25pt'> 
            <td width=196 style='width:146.75pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:32.25pt'> <p class=MsoNormal align=center style='text-align:center'><b
  style='mso-bidi-font-weight:normal'><span style='mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman";mso-bidi-font-family:"Times New Roman";
  color:navy'>進修部</span><span
  lang=EN-US style='font-family:"Times New Roman";color:navy'><o:p></o:p></span></b></p>
              <p class=MsoNormal align=center style='text-align:center'><b
  style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-family:"Times New Roman";
  color:navy'>(</span><span
  style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";
  mso-bidi-font-family:"Times New Roman";color:navy'>夜間部</span><span lang=EN-US style='font-family:"Times New Roman";
  color:navy'>)<o:p></o:p></span></b></p></td>
            <td width=174 style='width:130.15pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:32.25pt'> &#12288;</td>
            <td width=178 style='width:133.7pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:32.25pt'> <p class=MsoNormal align=center style='text-align:center'>&#12288;</p>
              <p class=MsoNormal align=center style='text-align:center'><span lang=EN-US><a
  href="StudyDate/Night/N-C-NO96.htm" target="_blank"><span style='font-family:
  "Times New Roman";color:blue'>92</span><span style='mso-ascii-font-family:
  "Times New Roman";mso-hansi-font-family:"Times New Roman";mso-bidi-font-family:
  "Times New Roman";color:blue'>學年度</span></a></span></p>
              <p class=MsoNormal align=center style='text-align:center'><span lang=EN-US><a
  href="StudyDate/Night/N-C-NO97-1.htm" target="_blank"><span style='font-family:
  "Times New Roman";color:blue'>93</span><span style='mso-ascii-font-family:
  "Times New Roman";mso-hansi-font-family:"Times New Roman";mso-bidi-font-family:
  "Times New Roman";color:blue'>學年度</span></a></span></p>
              </td>
            <td width=170 style='width:127.45pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:32.25pt'>
            <p align="center"><font color="#0000FF">93學年度</font></p>
            <p align="center"><font color="#0000FF">92學年度</font></td>
            <td width=170 style='width:127.45pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:32.25pt'> &#12288;</td>
          </tr>
          <tr style='mso-yfti-irow:4;height:32.25pt'> 
            <td width=196 style='width:146.75pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:32.25pt'> <p class=MsoNormal align=center style='text-align:center'><b
  style='mso-bidi-font-weight:normal'><span style='mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman";mso-bidi-font-family:"Times New Roman";
  color:navy'>進修專校</span><span
  lang=EN-US style='font-family:"Times New Roman";color:navy'><o:p></o:p></span></b></p>
              <p class=MsoNormal align=center style='text-align:center'><b
  style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-family:"Times New Roman";
  color:navy'>(</span><span
  style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";
  mso-bidi-font-family:"Times New Roman";color:navy'>六&#12289;日進修</span><span lang=EN-US style='font-family:"Times New Roman";
  color:navy'>)<o:p></o:p></span></b></p></td>
            <td width=174 style='width:130.15pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:32.25pt'> &#12288;</td>
            <td width=178 style='width:133.7pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:32.25pt'> &#12288;</td>
            <td width=170 style='width:127.45pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:32.25pt'>
            <p align="center"><font color="#0000FF">93學年度</font></p>
            <p align="center"><font color="#0000FF">92學年度</font><p>&#12288;</td>
            <td width=170 style='width:127.45pt;background:#99CCFF;padding:7.5pt 7.5pt 7.5pt 7.5pt;
  height:32.25pt'> <p class=MsoNormal align=center style='text-align:center'><span lang=EN-US
  style='font-family:"Times New Roman"'><o:p>&nbsp;</o:p></span></p></td>
          </tr>
        </table>

</div>

<p><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp; </span></p>

</blockquote>

</blockquote>

</div>

</body>

</html>

原始討論: http://twpug.net/x/modules/newbb/viewtopic.php?topic_id=698

評論

Sign In or Register to comment.