Bootstraps ICheck-Helper does not trigger on changed event

后端 未结 3 1901
慢半拍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:42

    Add the jQuery Events the trigger the onClick Event

    $('input[type="checkbox"], input[type="radio"]').on('ifChanged', function (e) {
         $(this).trigger("onclick", e);
    });
    

提交回复
热议问题