“botão de rádio OnChange jQuery Ajax” Respostas de código

No botão de rádio, troca de 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");
    }
});
Embarrassed Eagle

botão de rádio OnChange jQuery Ajax

$('input[type=radio][name=gender]').change(function() {
    if (this.value == 1) {
        alert("Select Male");
    }else if (this.value == 2) {
        alert("Select Female");
    }
});
masterDev

Respostas semelhantes a “botão de rádio OnChange jQuery Ajax”

Perguntas semelhantes a “botão de rádio OnChange jQuery Ajax”

Mais respostas relacionadas para “botão de rádio OnChange jQuery Ajax” em JavaScript

Procure respostas de código populares por idioma

Procurar outros idiomas de código