title: get JSON data in to jquery mobile and process
body: <p>I want to get json data array to JQM app and display colors according to that. Here is my link for the json array;
  <a href="http://iilsfa.br0s.info/Dashboard/get_daily_report.php" rel="nofollow">daily health</a>
  My app contains a listview.</p>
  
  <pre><code>    &lt;div&gt;
        &lt;ul data-role="listview"&gt;
              &lt;li&gt; 
              &lt;a href="#pageone" data-transition="slideup"&gt;
                  &lt;img src="img/green.png"/&gt;
              Outstanding Debits 
              &lt;span class="ui-li-count"&gt;5&lt;/span&gt;
              &lt;/a&gt;
              &lt;/li&gt;
               &lt;li&gt;
              &lt;a href="#pagethree" data-transition="slideup"&gt;
                   &lt;img src="img/red.png"/&gt;
              Claim Provisions
              &lt;span class="ui-li-count"&gt;1&lt;/span&gt;
              &lt;/a&gt;
              &lt;/li&gt;
              &lt;li&gt; 
              &lt;a  href="#pagefour"  data-transition="slideup"&gt;
                  &lt;img src="img/dark_yellow.png"/&gt;
              Premium Income
              &lt;span class="ui-li-count"&gt;2&lt;/span&gt;
              &lt;/a&gt;
              &lt;/li&gt;
             &lt;li&gt; 
              &lt;a href="#pagetwo" data-transition="slideup"&gt;
                  &lt;img src="img/green.png"/&gt;
              Sales Target Achievement- Month
              &lt;span class="ui-li-count"&gt;4&lt;/span&gt;
              &lt;/a&gt;
              &lt;/li&gt;
             &lt;li&gt; 
              &lt;a href="#pagefive" data-transition="slideup"&gt;
                  &lt;img src="img/yellow.png"/&gt;
              Sales Target Achievement- Year
              &lt;span class="ui-li-count"&gt;3&lt;/span&gt;
              &lt;/a&gt;
              &lt;/li&gt;
  
              &lt;/ul&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>This list have an image (img src=...) I want to display health state images (these images contains a color-red,dark yellow,yellow,light green,green) on that  according to the JSON data. (if 5 then green,4 light green,3 yellow,2 dark yellow,1 red) Im new to the JQM and Phonegap.please help</p>