两个form搜索提交表格在一行显示怎么实现

来源:百度知道 编辑:UC知道 时间:2024/09/12 23:58:18
<form name="searchform" method="post" action="/index.php" target="_blank">
<input type=hidden name=tempid value=2>
<input type="hidden" name="show" value="title,newstext,smalltext,writer">
<SELECT name=r>
<option value="title,smalltext,newstext,writer">全部</option>
<OPTION value=32>55555</OPTION>

</SELECT>
<INPUT name="keyboard" type="text" class="searchsr" id="keyboard" size="10" value=>

<input name="Submit" value="搜索" > </FORM>
<form name="searchform" method="post" action="/so.php" target="_blank">
<input type=hidden name=tempid value=2>
<input type="hidden" name

用一个table,将两个form放到table中的同一行中的不同单元格中即可.
<table>
<tr>
<td> <form>1</form> </td>
<td> <form>2</form> </td>
</tr>
</table>

两个form应该是户不相干的啊,给两个form起名字要不一样,action也不一样就行!实在不行就用javascript!