Bootstraps ICheck-Helper does not trigger on changed event

后端 未结 3 1884
慢半拍i
慢半拍i 2020-12-31 03:32

I have this Jquery code to be updating checkboxes base on whether a checkbox has been checked. However, This does not fire.

Code

         


        
3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-31 03:46

    Use ifChanged or ifChecked mentioned in the documentation

    $('input').on('ifChecked', function(event){
      alert(event.type + ' callback');
    });
    

提交回复
热议问题