Answers for "get value radio checked on change"

5

change on radio button

$('input[type=radio][name=bedStatus]').change(function() {
    if (this.value == 'allot') {
        alert("Allot Thai Gayo Bhai");
    }
    else if (this.value == 'transfer') {
        alert("Transfer Thai Gayo");
    }
});
Posted by: Guest on April-30-2020
0

how to set asp radio button value to checked as per retrieve record in javascript

$("input[name='"+name+"'][value='"+value+"']").prop('checked', true);
Posted by: Guest on July-31-2021

Code answers related to "get value radio checked on change"

Code answers related to "Javascript"

Browse Popular Code Answers by Language