【发布时间】:2012-04-09 12:58:41
【问题描述】:
如果选中一个复选框,我想检查所有其他复选框。我的代码
<tr>
<td class="small"><asp:CheckBox ID="chkReportModuleName" runat="server" name="report"></asp:CheckBox></td>
<td class="particulrs"></td>
<td class="small"><asp:CheckBox ID="chkReportAdd" runat="server" name="reports"></asp:CheckBox></td>
<td class="small"><asp:CheckBox ID="chkReportEdit" runat="server" name="reports"></asp:CheckBox></td>
<td class="small"><asp:CheckBox ID="chkReportDelete" runat="server" name="reports"></asp:CheckBox></td>
<td class="small"><asp:CheckBox ID="chkReportView" runat="server" name="reports"></asp:CheckBox></td>
<td class="small"><asp:CheckBox ID="chkReportPrint" runat="server" name="reports"></asp:CheckBox></td>
<td class="othr"><span><input type="checkbox" id="chkReportActivity1" name="reports" /></span></td>
</tr>
选中名为报告的复选框。我想检查所有名为报告的复选框。
有人可以帮我解决这个问题吗? 谢谢
【问题讨论】:
标签: javascript jquery asp.net