checking one checkbox checks all the checkbox
<p>I want to check all the other checkboxes if one checkbox is checked. My code </p>

<pre><code>&lt;tr&gt;
    &lt;td class="small"&gt;&lt;asp:CheckBox ID="chkReportModuleName" runat="server" name="report"&gt;&lt;/asp:CheckBox&gt;&lt;/td&gt;
    &lt;td class="particulrs"&gt;&lt;/td&gt;
    &lt;td class="small"&gt;&lt;asp:CheckBox ID="chkReportAdd" runat="server" name="reports"&gt;&lt;/asp:CheckBox&gt;&lt;/td&gt;
    &lt;td class="small"&gt;&lt;asp:CheckBox ID="chkReportEdit" runat="server" name="reports"&gt;&lt;/asp:CheckBox&gt;&lt;/td&gt;
    &lt;td class="small"&gt;&lt;asp:CheckBox ID="chkReportDelete" runat="server" name="reports"&gt;&lt;/asp:CheckBox&gt;&lt;/td&gt;
    &lt;td class="small"&gt;&lt;asp:CheckBox ID="chkReportView" runat="server" name="reports"&gt;&lt;/asp:CheckBox&gt;&lt;/td&gt;
    &lt;td class="small"&gt;&lt;asp:CheckBox ID="chkReportPrint" runat="server" name="reports"&gt;&lt;/asp:CheckBox&gt;&lt;/td&gt;
    &lt;td class="othr"&gt;&lt;span&gt;&lt;input type="checkbox" id="chkReportActivity1" name="reports" /&gt;&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
</code></pre>

<p>On check of the checkbox named report.I want to check all the checkboxes with the name reports.</p>

<p>Can someone please help me with this?
Thanks</p>
