1
我必须列出检查时选中一个复选框,其他复选框同一行取消选中
<input type="checkbox" value="18" name="yes" id="yes1">
<input type="checkbox" value="13" name="yes" id="yes2">
<input type="checkbox" value="12" name="yes" id="yes3">
等列表复选框
<input type="checkbox" value="14" name="no" id="no2">
<input type="checkbox" value="18" name="no" id="no2">
<input type="checkbox" value="12" name="yo" id="no2">
,但我不知道在工作的时候检查复选框ID yes1,id no1未检查
您的意思是给你的 “不”'input's一样'id'?这是无效的HTML。 – ajp15243 2013-02-18 18:38:16
您可能想看看ASP.Net Ajax ToolKit的[MutuallyExclusiveCheckBox](http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/MutuallyExclusiveCheckBox/MutuallyExclusiveCheckBox.aspx)。在演示中,取消选中它旁边的复选框。 – Win 2013-02-18 18:41:34