2
Q:

how to clear radio button input when someone types in an input field

<script>
      $('#textInput').click(function () {
          $('input[name="radio"]').prop("checked", false);
      });
 </script>
1
  $('input[name="am_payment"]').on('click', function() {
   if ($(this).val() === '') {
      $('#theamount').val('').prop("removed", true).focus();
   }
   else {
      $('#theamount').val('').prop("disabled", false);
   }
});
0

New to Communities?

Join the community