Radio Button List Div hide or show - B M SOLUTION
  • Radio Button List Div hide or show

      <label for="chkYes">

                            <input type="radio" id="chkYes" name="rbGrp1" /> Yes

                        </label>

                        <label for="chkNo">

                            <input type="radio" id="chkNo" name="rbGrp1" /> No

                        </label>

                        <hr>


    <script>

        $(function () {

            $("input[name='rbGrp1']").click(function () {

                if ($("#chkYes").is(":checked")) {

                    $("#IsTenancyYes").show();

                } else {

                    $("#IsTenancyYes").hide();

                }

            });

        });

    </script>


  • You might also like

    No comments :

    Post a Comment