代码之家  ›  专栏  ›  技术社区  ›  shinjuo

多重形式问题

  •  0
  • shinjuo  · 技术社区  · 14 年前

    我有两个表格一个接一个,但第二个是没有张贴在所有。一切正常,除了提交。我能要两张这样的表格吗?

     <form action="getRates.php" name="rates" method="post" onSubmit="popupform(this, 'join')">
                              <table style="width: 216px">
                                <tr>
                                  <td style="width: 115px; height: 49px;"><span class="style16">Weight</span><br/>
                                      <input type="text" id="weight" name="weight" size="10" maxlength="4"/>
                                      <input type="hidden" id="weightOne" name ="weightOne">
                                      <input type="hidden" id="weightTwo" name ="weightTwo">
                                      <input type="hidden" id="weightThree" name="weightThree">
                                      <input type="hidden" id="weightFour" name="weightFour">
                                  </td>
                                  <td align="right" style="width: 68px; height: 49px;" valign="top"><span class="style16">Zip Code</span><br/>
                                      <input type="text" id="zip" name="zip" size="10" maxlength="5"/>
                                  </td>
                                </tr>
                                <tr>
                                  <td style="width: 115px">
                                  <input name="submit" type="submit" value="Door Hanger Rates" style="width: 138px" />
                                  </td>
                                </tr>
                              </table>
                              </form>
                             <form action="getBusinessRates.php" name="businessRates" method="post" onSubmit="popupform(this, 'join')">
                              <table style="width: 216px">
                                <tr>
                                  <td style="width: 115px; height: 49px;"><span class="style16">Weight</span><br/>
                                      <input type="text" id="businessWeight" name="businessWeight" size="10" maxlength="4" />
                                  </td>
                                  <td align="right" style="width: 68px; height: 49px;" valign="top"><span class="style16">Zip Code</span><br/>
                                      <input type="text" id="businessZip" name="businessZip" size="10" maxlength="5" />
                                  </td>
                                </tr>
                                <tr>
                                  <td style="width: 115px">
                                  <input name="businessSubmit" type="submit" value="Business Card Rates" style="width: 138px" />
                                  </td>
                                </tr>
                              </table>
                             </form>
    
    1 回复  |  直到 14 年前
        1
  •  1
  •   Sarfraz    14 年前