<table>
<tr><td>RNO.1</td>
<td><input type="radio" id="att1" name="att1" value="P"/>Present
<input type="radio" id="att1" name="att1" value="A" />Absent
<input type="radio" id="att1" name="att1" value="L" />Leave
</td></tr>
<tr><td>RNo.2</td>
<td><input type="radio" id="att2" name="att2" value="P"/>Present
<input type="radio" id="att2" name="att2" value="A" />Absent
<input type="radio" id="att2" name="att2" value="L" />Leave
</td></tr>
<tr><td>RNo.3</td>
<td><input type="radio" id="att3" name="att3" value="P"/>Present
<input type="radio" id="att3" name="att3" value="A" />Absent
<input type="radio" id="att3" name="att3" value="L" />Leave
</td></tr>
</table>
我想检查每个td中至少选择了一个单选按钮,使用javascript也会增加,我只会增加几个。请帮我。