Answers for "how to clear my radio button"

6

javascript clear radio button

document.querySelector('input[name="Choose"]:checked').checked = false;
Posted by: Guest on August-28-2021
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 "how to clear my radio button"

Browse Popular Code Answers by Language