【发布时间】:2015-12-06 02:06:34
【问题描述】:
我有一个表格,其中一行有 3 个输入。我需要的是,在填充此行中的所有输入后,附加一个新行,其中包含与以前相同的 3 个输入。
<table>
<thead>
<tr>
<th>H</th>
<th>W</th>
<th>D</th>
<th>X</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<input type="text" name="h[]">
</td>
<td>
<input type="text" name="w[]">
</td>
<td>
<input type="text" name="d[]">
</td>
<td>
<button type="button">x</button>
</td>
</tr>
</tbody>
</table>
提前致谢。
【问题讨论】: