Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icheckbox_line checkbox are not loading after ajax success call #405

Open
dharmdeep opened this issue May 23, 2018 · 1 comment
Open

icheckbox_line checkbox are not loading after ajax success call #405

dharmdeep opened this issue May 23, 2018 · 1 comment

Comments

@dharmdeep
Copy link

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

@malighieri
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants