Answers for "how to show radio button selected default in html"

3

radio by default selected

checked="checked"
Posted by: Guest on May-18-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 "how to show radio button selected default in html"

Browse Popular Code Answers by Language