Friday, January 5, 2024

How to hide or show div by radio box Jquery using Javascript

  <asp:RadioButton runat="server" ID="radioFiledYes" Text="Yes" onchange="$('#divFiled').show();" GroupName="Filed" />

                <asp:RadioButton runat="server" ID="radioFiledNo" Text="No" onchange="$('#divFiled').hide();" GroupName="Filed" />



<div style="border: 1px solid #d5d5d5; padding: 10px;" id="divFiled">

</div>


No comments:

Post a Comment