ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Enable Disable CheckBoxList based on another using jQuery in ASP.Net<p>Hi <a class="username" rel="nauna">nauna</a>,</p> <p>Check this example. Now please take its reference and correct your code.</p> <p><strong><span style="text-decoration: underline;">HTML</span></strong></p> <pre class="brush: html">&lt;script type=&#34;text/javascript&#34; src=&#34;https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js&#34;&gt;&lt;/script&gt; &lt;script type=&#34;text/javascript&#34;&gt; $(function () { $(&#34;[id*=CheckBoxList1]&#34;).bind(&#34;click&#34;, function () { $(&#34;[id*=CheckBoxList2]&#34;).hide(); if ($(&#34;[id*=CheckBoxList1] input:checked&#34;).length &gt; 0) { $.each($(&#34;[id*=CheckBoxList1] input:checked&#34;), function () { if ($(this).val() == &#39;Two&#39;) { $(&#34;[id*=CheckBoxList2]&#34;).show(); } }); } }); }); &lt;/script&gt; &lt;asp:CheckBoxList ID=&#34;CheckBoxList1&#34; runat=&#34;server&#34;&gt; &lt;asp:ListItem Text=&#34;One&#34; Value=&#34;One&#34; /&gt; &lt;asp:ListItem Text=&#34;Two&#34; Value=&#34;Two&#34; /&gt; &lt;/asp:CheckBoxList&gt; &lt;br /&gt; &lt;asp:CheckBoxList ID=&#34;CheckBoxList2&#34; runat=&#34;server&#34; Style=&#34;display: none&#34;&gt; &lt;asp:ListItem Text=&#34;Mango&#34; Value=&#34;Mango&#34; /&gt; &lt;asp:ListItem Text=&#34;Apple&#34; Value=&#34;Apple&#34; /&gt; &lt;/asp:CheckBoxList&gt;</pre> <p><strong><span style="text-decoration: underline;">Screenshot</span></strong></p> <p><img src="https://i.imgur.com/vLYbDRE.gif" alt="" width="138" height="156" /></p>https://www.aspforums.net:443/Threads/189666/Enable-Disable-CheckBoxList-based-on-another-using-jQuery-in-ASPNet/https://www.aspforums.net:443/Threads/189666/Enable-Disable-CheckBoxList-based-on-another-using-jQuery-in-ASPNet/Tue, 03 Sep 2019 02:54:08 GMT