title: JQuery Mobile Loop to add items
body: <p>How to loop and add list items in jQuery Mobile?</p>
  
  <p>Something like this I found using PHP:</p>
  
  <pre><code>while($row = mysql_fetch_array($result))
    {
        echo "&lt;li&gt;&lt;h2&gt;" . $row['post_title'] . "&lt;/h2&gt;" . $row['post_content'] . "&lt;p class='ui-li-aside'&gt;" . $row['post_date'] . "&lt;strong&gt;&lt;/p&gt;";
    }
  </code></pre>
  
  <p>But I am not using PHP in my project (Using C# webservice,JqueryMobile). Assuming I need to add 5 list items which is stored in the variable <code>Count</code>, how can I achieve this in jQuery Mobile?</p>
  
  <p>Any idea where I can find jQuery Mobile tutorials which uses C# web service to talk to database?</p>
  
  <p>Thanks in advance...</p>