title: jQuery mobile error "cannot call methods on listview prior to initialization"
body: <p>I'm dynamically filling a <code>&lt;ul data-role="listview"&gt;</code> then calling <code>location.href="#Results"</code> where the list is, and finally <code>listview('refresh')</code>.</p>
  
  <p>All that is done in the success callback of an Ajax request from the same page. It works more or less but I'm getting the following error:</p>
  
  <pre><code>Uncaught cannot call methods on listview prior to initialization; attempted to call method 'refresh'
  </code></pre>
  
  <p>I guess jQuery mobile did not construct the listview yet. What could I do?</p>