Open ezekel opened 9 years ago
Hi, I can I ask some help I have problem in using iCheck in loading dynamic checbox. it will not work. i tried some simple test not to do in dynamic and it's working fine.but in dynamic I cannot get it work..
I hope you can help me
Thank you in advance
foreach($list as $itm){ $mydata .= '<div class="media">'. '<div class="media-left">'. '<a href="#"><img src="..." ></a>'. '</div>'. '<div class="media-body">'. '<h4 class="media-heading">Heading</h4>'. '<p><input type="checkbox" class="mycheck"></p>'. '</div>'. '</div>'; $('#myconatainer').load('getData.php'); $(function(){ $('input').iCheck({ checkboxClass: 'icheckbox_square-red', radioClass: 'iradio_square-red' }); });
You not say which version you use. Version 1 or 2? In Version 2 you must use "icheck" instead "iCheck".
I use simply $('input[type="checkbox"]').icheck(); (for version 2)
Hi, I can I ask some help I have problem in using iCheck in loading dynamic checbox. it will not work. i tried some simple test not to do in dynamic and it's working fine.but in dynamic I cannot get it work..
I hope you can help me
Thank you in advance