title: Refresh content of a div without ajax
body: <p>I have a div with <code>id=mydiv</code> and inside of this div I have some content that I am grab it dynamically from database with a while.</p>
  
  <p>Is there any way to use a button to refresh or reload the content of my div without using <code>.load()</code> ajax method?</p>
  
  <pre><code>$("#mydiv").load("index.html")
  </code></pre>
  
  <p>example:</p>
  
  <pre><code>&lt;div id="mydiv"&gt;
  &lt;?php
  $trtyb = mysql_query ("SELECT * FROM xxx WHERE xxx= '$getcat'");
  while($fina = mysql_fetch_assoc($trtyb)) {
    echo $fina['name'];
    echo "&lt;br&gt;";
  }
  ?&gt;
  &lt;/div&gt;
  </code></pre>