티스토리 뷰

HTML

<div class="radio-wrap div-wrap">
    <div class="radio-group">
        <input type="radio" name="division" id="div_1" value="전문의" checked>
        <label for="div_1">전문의</label>
    </div>
    <div class="radio-group">
        <input type="radio" name="division" id="div_2" value="의사">
        <label for="div_2">의사</label>
    </div>
</div>

JQuery

$(document).ready(function(){
    $(".div-wrap input[name='division']").change(function(){
        var selectValue = $("input[name='division']:checked").val();
        if(selectValue == "의사"){
            $(".doctor-hide").removeClass("hide");
        }else{
            $(".doctor-hide").addClass("hide");
        }
    })
})
공지사항