title: Creating list-view dynamically
body: <p>I'm creating dynamically a list view. I'm able to create the list view dynamically but I even want to dynamically build and then append </p>
  
  <p>HTML code</p>
  
  <pre><code>&lt;ul id="menu" data-role="listview"&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>jQuery code</p>
  
  <pre><code>$("#my_menu").append('&lt;li&gt;&lt;a class="button" href="#"&gt;&lt;img src="menu.png" &gt;'+ this.textContent + '  &lt;/a&gt; &lt;/li&gt;')
  </code></pre>
  
  <p>My List View is not automatically refreshed?</p>