//判断table内单选框全部选中 if ($(".tb_info input:[name=question"+i+"]:radio:checked").length == 0){ alert("所有问题必须全部选择"); }