title: refresh jquery mobile div after getting data using php and ajax
body: <p>php file:</p>
  
  <pre><code>if (mysql_num_rows($result) &gt; 0) {
  // output data of each row
  while($row = mysql_fetch_assoc($result)) {
       $orgID=$row["InstancesID"];
      echo "description: " . $row["describtion"]. "&lt;br&gt;&lt;br&gt;"." - Type: " . $row["type"]. "&lt;br&gt;&lt;br&gt;". "-Amount: " . $row["amount"]. "&lt;br&gt;&lt;br&gt;";
      echo"&lt;input type='button'  onclick=SendID($orgID) value='updateee'/&gt; &lt;br&gt;&lt;br&gt;";
  }
  </code></pre>
  
  <p>ajax function:</p>
  
  <pre><code>$(document).ready(function(){
  $("#show").click(function(){
  
  
      $.ajax({url: "http://127.0.0.1/testupdate.php?f=ShowAllInstances",
  
              success: function(result){
              //alert(result);
         $("#divshow").html(result);
      }});
  });
  });
  </code></pre>
  
  
  
  <p>this displays the returned data in html page I want to display them in jquery mobile page.
  any help please</p>