I have 32 checkboxes (checkbox1,checkbox2,checkbox3.... checkbox32) and 32 div(div1,div2,div3.....div32) and one asp:Button.
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..
<div class="CheckBoxDiv ">
<asp:CheckBox ID="checkBox1" runat="server" />
</div>
<asp:CheckBox ID="checkBox2" runat="server" />
</div> .
.
.
<asp:Button ID="buttonShowData" runat="server" Text="Show data" class="ShowDataButton" />
<div id="div1" runat="server" visible="false">
......
</div>
<div id="div2" runat="server" visible="false">
......
</div>
.
.