icheck icon indicating copy to clipboard operation
icheck copied to clipboard

icheckbox_line checkbox are not loading after ajax success call

Open dharmdeep opened this issue 6 years ago • 1 comments

Hi, Here is my html which loaded from ajax <div class="input-group"> <div class="icheck-list"> <label> <input type="checkbox" class="icheck" data-checkbox="icheckbox_line-grey" data-label="Checkbox 1"> </label> <label> <input type="checkbox" checked class="icheck" data-checkbox="icheckbox_line-grey" data-label="Checkbox 2"> </label> <label> <input type="checkbox" class="icheck" data-checkbox="icheckbox_line-grey" data-label="Checkbox 3"> </label> </div> </div>

to solve this i found this jQuery(document).on('icheck', function(){ jQuery('input[type=checkbox]').iCheck({ checkboxClass: 'icheckbox_square-blue' }); }).trigger('icheck'); But loading inline checkbox

dharmdeep avatar May 23 '18 19:05 dharmdeep

Thanks a lot! Your workaround just helped me to fix a dinamically generated checkboxlist.

malighieri avatar Sep 15 '20 04:09 malighieri