<tr> <td class="tdtext" colspan="3">2、廉洁自律,不利用岗位职权方便谋取私利。</td> <td class="trss"><input name="radio17" type="radio" value="5" required/></td> <td class="trss"><input name="radio17" type="radio" value="4" /></td> <td class="trss"><input name="radio17" type="radio" value="3" /></td> <td class="trss"><input name="radio17" type="radio" value="2" /></td> <td class="trss"><input name="radio17" type="radio" value="1" /></td> </tr>
使用jQuery通过name属性获取值
var value17 = $('input[name="radio17"]:checked').val()
好家伙,lxy