Here is the markup I am working with:
<table>
<tr>
<td><input type="radio" name="radio"></td>
<td><input type="radio" name="radio"></td>
<td><input type="radio" name="radio"></td>
</tr>
<tr>
<td><input type="radio" name="radio"></td>
<td><input type="radio" name="radio"></td>
<td><input type="radio" name="radio"></td>
</tr>
<tr>
<td><input type="radio" name="radio"></td>
<td><input type="radio" name="radio"></td>
<td><input type="radio" name="radio"></td>
</tr>
</table>
I have a 3x3 table with 9 radio buttons. I am trying to set it up so that:
- You can select only one radio button per row OR
- You can select only one radio button per column
Is there a way to achieve this without using any JavaScript? Appreciate any help, thank you!