📌  相关文章
📜  在单选按钮上更改 jquery - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:03.238000             🧑  作者: Mango

代码示例1
$('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");
    }
});