mchoudhury
Programmer
Hi Guys,
I have a panel - inside the panel i have things like labels, textboxes etc. What i want is to write a JS OnClick event where if a checkbox is selected themn the panel will show up, and if the checkbox is de-selected then the panel will dissaper.
Can someone help me on how i could do that:
<asp:CheckBox ID="bill" Runat="server" onClick="document.getElementById('BillAddress').style.display=(this.Checked == True)?'inline':'none';"></asp:CheckBox>
Thanks
Mac
I have a panel - inside the panel i have things like labels, textboxes etc. What i want is to write a JS OnClick event where if a checkbox is selected themn the panel will show up, and if the checkbox is de-selected then the panel will dissaper.
Can someone help me on how i could do that:
<asp:CheckBox ID="bill" Runat="server" onClick="document.getElementById('BillAddress').style.display=(this.Checked == True)?'inline':'none';"></asp:CheckBox>
Thanks
Mac