<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="你要赋的值";
<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="你要赋的值";
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货