카테고리 없음

[jquery] jquery의 확인란 트리거로 레이블에서 값 가져 오기

행복을전해요 2021. 3. 1. 08:49

확인란에 대한 변경 처리기를 추가 할 수 있습니다.

$('#easyui-tabs input[type=checkbox]').change(function(){
    $(this).next().toggle(this.checked)
    }).change()
    

데모 : Fiddle



출처
https://stackoverflow.com/questions/22089808