Answers for "radio button name clear text of text field"

1

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

<script>
      $('#textInput').click(function () {
          $('input[name="radio"]').prop("checked", false);
      });
 </script>
Posted by: Guest on December-01-2020
0

clear the input when change the radio button

$('input[name="am_payment"]').on('click', function() {
   if ($(this).val() === '') {
      $('#theamount').val('').prop("removed", true).focus();
   }
   else {
      $('#theamount').val('').prop("disabled", false);
   }
});
Posted by: Guest on November-05-2020

Code answers related to "radio button name clear text of text field"

Browse Popular Code Answers by Language