I write this event for RadioButton change event.but for first timer that page load.it doesnt work.why?
//html mvc code
    @Html.RadioButtonFor(m => m.DigitalFile, false) خیر
    @Html.RadioButtonFor(m => m.DigitalFile, true) بله
     <script>
    $(function () {
        $("input[name='DigitalFile']").change(function () {
        var $this = $(this);
        if ($this.val() == "True") {
            $("#MapZoning").attr("disabled", false);
        } else {
            $("#MapZoning").attr("disabled", true);
        }
        });
    });
</script>
 
     
    