DBA

jquery RadioButton Change Event 본문

[3] Development/MVC(ASP.NET with C#)

jquery RadioButton Change Event

코볼 2023. 8. 4. 14:00
728x90
반응형
SMALL

 

 

$("input[name='g1']:radio").change(function () {
    var noticeCat = this.value;
    alert(noticeCat);
});

$("input[name='g1']:radio").on('change', function () {
    var selectedRadio = this.value;
    alert(selectedRadio);
});

728x90
반응형
LIST
Comments