Posted on: 4/12/2015 2:05:32 PM | Views : 562

Hi,
I have a table which is shown based on the radio button selection of "Yes".
<asp:RadioButton ID="rbGuestTravelNo" Text="No" runat="server" ToolTip="No" Checked="True" GroupName="GuestTravel" /> &nbsp; <asp:RadioButton ID="rbGuestTravelYes" Text="Yes" runat="server" ToolTip="Yes" GroupName="GuestTravel" /> </table> <table id="tblTravelList" style="<%= rbGuestTravelNo.Checked ? "display:none" : "" %>"> <tr> //jquery $(document).ready(function () { $(function () { $(":radio").change(function () { $("#tblTravelList").toggle($(this).val() == "rbGuestTravelYes" && $(this).is(':checked')); }); }); ...

Go to the complete details ...