js to determine the selected value of radiobuttonlist to display/hide other modules
<script>$(function () {var SelectVal = $("input[name='rblGJS']:checked").val();if (SelectVal == 1) {$("#gjsbh").show();}$("#<%=rblGJS.ClientID %>").change(function () {SelectVal = $("input[name='rblGJS']:checked").val();if (SelectVal == 1) {$("#gjsbh").show();}else {$("#gjsbh").hide();} });})</script> <tr><td align="right">Is the appraiser:</td><td align="left"><asp:RadioButtonList ID="rblGJS" runat="server" RepeatDirection="Horizontal"><asp:ListItem Value="1" >Yes</asp:ListItem><asp:ListItem Value="0" Selected="True">No</asp:ListItem></asp:RadioButtonList></td></tr><tr id="gjsbh" hidden="hidden" ><td id="right" align="right">Appraiser number:</td><td id="left" align="left"><asp:TextBox ID="txtGJSBH" runat="server" CssClass="easyui-textbox" Height="90%" Width="280px"></asp:TextBox></td></tr>The above js article judging the selected value of radiobuttonlist to display/hide other modules is the entire content I have shared with you. I hope you can give you a reference and I hope you can support Wulin.com more.