title: Dynamic controlgroup and checkboxes unstyled
body: <p>So I'm trying to load dynamic content straight into my checkbox container (group_checkboxes)</p>
  
  <pre><code>&lt;div id='group_checkboxes' data-role="fieldcontain"&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>This is the statement I'm running to populate the container:</p>
  
  <pre><code>$('#group_checkboxes').append('&lt;fieldset data-role="controlgroup"&gt;&lt;input type="checkbox" name="' + $(this).find('data').text() + '" class="custom" /&gt;&lt;label for="' + $(this).find('data').text() + '"&gt;' + $(this).find('label').text() + '&lt;/label&gt;&lt;/fieldset&gt;');
  </code></pre>
  
  <p>The checkboxes are all populated but the jQuery style is not applied.</p>
  
  <p>According to the <a href="http://jquerymobile.com/demos/1.0a4.1/#docs/forms/forms-checkboxes.html" rel="nofollow noreferrer">docs</a> all I need to do is call this function to update the checkbox style...</p>
  
  <pre><code>$("input[type='checkbox']").checkboxradio("refresh");
  </code></pre>
  
  <p>That doesn't work though... Any idea what I'm doing wrong?</p>