通過點擊提交表單與jQuery這是如何實現的形式提交clickt表格單元格中只有「輸入」欄在表格單元格
<form id="switch" method="POST">
<table>
<tr>
<td>some content<input type="hidden" name="switch_value" value="1"></td>
<td>some content<input type="hidden" name="switch_value" value="2"></td>
<td>some content<input type="hidden" name="switch_value" value="3"></td>
<td>some content<input type="hidden" name="switch_value" value="4"></td>
<td>some content<input type="hidden" name="switch_value" value="5"></td>
</tr>
</table>
</form>
您可以禁用其他未被點擊的輸入,然後提交表單。 – Spokey 2014-09-24 10:35:01