<script> function reg_phd_unction(value) { if (value == "209") { document.getElementById("ctl00_ContentPlaceHolder1_dv_reg_phd").style.display = "block"; } else if (value == "210") { document.getElementById("ctl00_ContentPlaceHolder1_dv_reg_phd").style.display = quot;none"; } }
<asp:RadioButton onclick="reg_phd_unction(this.value)" GroupName="member5" ID="rd_phd_yes" Text="Yes" Value="209" runat="server" /> <asp:RadioButton onclick="reg_phd_unction(this.value)" GroupName="member5" ID="rd_phd_no" Text="No" Value="210" runat="server" />
u have use <div id="dv_reg_phd" runat="server" style="display: none;"> but try this <div id="dv_reg_phd" runat="server"> </div></div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)