Answers for "onclick input type radio set checked jquery"

2

radio button checked event jquery

$('#radio-button-id').click(function() {
  if($('#radio-button-id').is(':checked')) 
  { 
    //input where you put a value
    $('#program').val("radio-button-text");
  }                      
});
Posted by: Guest on May-18-2020
1

set radio button checked jquery

$(".nameOfTheClass").prop('checked', true);
Posted by: Guest on May-30-2021

Code answers related to "onclick input type radio set checked jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language