表格内的表格 我在HTML表中包含了一些表单,以添加新行和更新当前行。我遇到的问题是,当我检查开发工具中的表单时,我看到表单元素在打开后立即关闭(输入等不包括在表单中)。因此,提交表单时不能包含字段。表行和输入如下:<tr>
<form method="post" action="">
<td>
<input type="text" name="job_num">
</td>
<td>
<input type="text" name="desc">
</td>
</form></tr>任何帮助都会很好,谢谢。
3 回答

慕妹3146593
TA贡献1820条经验 获得超9个赞
<form method="GET" id="my_form"></form><table> <tr> <td> <input type="text" name="company" form="my_form" /> <button type="button" form="my_form">ok</button> </td> </tr></table>
- 3 回答
- 0 关注
- 511 浏览
相关问题推荐
添加回答
举报
0/150
提交
取消