How is this possible that the form submit only the "input" field of the clickt table cell
<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>
See Question&Answers more detail:os