On button click make div visible if check box checked is true Using jquery
<p>I have 32 checkboxes (checkbox1,checkbox2,checkbox3.... checkbox32) and 32 div(div1,div2,div3.....div32) and one asp:Button.</p>

<p>On button click I need to make div1 visble if checkbox1 checked true and  div2 visble if checkbox2 checked true and div3 visble if checkbox3 checked true and so on using JQuery..</p>

<pre><code>&lt;div class="CheckBoxDiv "&gt;
        &lt;asp:CheckBox ID="checkBox1" runat="server"  /&gt;

    &lt;/div&gt;
        &lt;asp:CheckBox ID="checkBox2" runat="server"  /&gt;

    &lt;/div&gt;        .
                  .
                  .

&lt;asp:Button ID="buttonShowData" runat="server" Text="Show data" class="ShowDataButton"  /&gt;

&lt;div id="div1" runat="server" visible="false"&gt;
               ......
&lt;/div&gt;
&lt;div id="div2" runat="server" visible="false"&gt;
               ......
&lt;/div&gt;
                    .
                    .
</code></pre>
