Answers for "radio button checked jquery ajax"

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
0

onchange radio button jquery ajax

$('input[type=radio][name=gender]').change(function() {
    if (this.value == 1) {
        alert("Select Male");
    }else if (this.value == 2) {
        alert("Select Female");
    }
});
Posted by: Guest on September-27-2021

Code answers related to "radio button checked jquery ajax"

Code answers related to "Javascript"

Browse Popular Code Answers by Language