Give this a try.
<script>
  var jQ = $.noConflict(true);
  jQ(function() {
          jQ("input[name='version']").click(function() {
               if (jQ(this).prop('checked') == true && jQ(this).val() == "Legacy") {
                     jQ("input[name='hidden_ent']").prop("disabled", true);
                     jQ("input[name='hidden_leg']").prop("disabled", false);
                }
        
                if (jQ(this).prop('checked') == true && jQ(this).val() == "Enterprise") {
                    jQ("input[name='hidden_ent']").prop("disabled", false);
                    jQ("input[name='hidden_leg']").prop("disabled", true);
                }
           });
       
          jQ("input[name='update']").click(function() {
                  if (jQ(this).prop('checked') == true) {
                      jQ("input[name='no_update']").prop("disabled", true);
                      } else {
                          jQ("input[name='no_update']").prop("disabled", false);
                       }
             });
    });
</script>