Need help for this iCheck not working

I am using this plugin iCheck but I am having problem to get this thing work.
I am loading my checkboxes dynamically using jquery load();




       foreach($list as $itm){
    $mydata .=  '<div class="media">'.
                   '<div class="media-left">'.
                       '<a href="#"><img src="..." ></a>'.
             '<div class="media-body">'.
              '<h4 class="media-heading">Heading</h4>'.
              '<p><input type="checkbox" class="mycheck"></p>'.

   echo $mydata;

    checkboxClass: 'icheckbox_square-red',
    radioClass: 'iradio_square-red'


can someone help me on this.

Thank you in advance.

@James_Hibbard, can you help me why the plugin is not working in dynamic checbox.

Thank you in advance.

Ok I fixed it now :slight_smile:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.