Answers for "onchange radio button jquery ajax"

5

on radio button change jquery

$('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

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 "onchange radio button jquery ajax"

Code answers related to "Javascript"

Browse Popular Code Answers by Language