title: jQuery Auto refresh div messing up
body: <p>I have a script that auto-refreshes a certain div on the page (That I got from another post on here)</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      var auto_refresh = setInterval(
      function(){
          $('#refresh').load('index.php?_=' +Math.random()).fadeIn("slow");
      }, 10000); // refresh every 10000 milliseconds
  &lt;/script&gt;
  ...............
  &lt;div id="refresh"&gt;
    &lt;!-- Some PHP Code --&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This refreshes, however when it does, I takes the entire html document and puts it into the div. Like this:</p>
  
  <p><img src="https://i.stack.imgur.com/nY0b4.png" alt="Body in a div"></p>
  
  <p>As you can see, the refreshed div (the one marked in red) is getting the body shouved into it. Any ideas???</p>