title: Initializing isotope with dynamic data json
body: <p>I have searched around but no help. My issue is I am using the isotope jQuery library to show data (of course) and I am trying to do this by using a dynamic json dataset. I placed the data in a .json file and I'm reading it in and parsing information, then placing that info in divs under my container div like so:</p>
  
  <pre><code>$('#infoContainer').append('&lt;div class="hospital ' + $number + '"&gt;&lt;p&gt;' + i + '&lt;br /&gt;' + hospital.address + '&lt;br /&gt;' + hospital.citystatezip + '&lt;/p&gt;&lt;/div&gt;');
  </code></pre>
  
  <p>Of course that portion is in an .each() function for each hospital. My problem is that the initialization code won't show the dynamic divs like it shows when you manually type them. I'm using what is given on the isotope website:</p>
  
  <pre><code>$('#infoContainer').isotope({
                    itemSelector: '.hospital'
                });
  </code></pre>
  
  <p>Any ideas?</p>