<table>
  <tr>
    <td>
      <script>document.queryForm.catalog.options[document.queryForm.catalog.selectedIndex].value</script>
    </td>
    <td>
      <script>document.queryForm.key.value</script>
    </td>
  </tr>
</table>
你是想把这两项直接输出么?<table>
  <tr>
    <td>
      <script>document.write(document.queryForm.catalog.options[document.queryForm.catalog.selectedIndex].value)</script>
    </td>
    <td>
      <script>document.write(document.queryForm.key.value)</script>
    </td>
  </tr>
</table>
或者给table一个id tableid1
使用javascript对table进行操作就可以了document.all('tableid1').rows[0].cells[0].innerHTML="你要赋的值";
document.all('tableid1').rows[0].cells[1].innerHTML="你要赋的值";