title: Refresh Div only no scroll
body: <p>I've been trying to refresh a certain div tag only I tried AJAX but I can't use that because there is no source file to pull fro it is pulling it from a database program(the data that needs to be refreshed) I need some code to refresh like when pushing the refresh button but only for certain div id. Can anyone thing of anything?</p>
  
  <p>I tried this, but like I said there is no file is there a name that I can enter in the area where the html file goes that refreshes the page?</p>
  
  <pre><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"&gt;&lt;/script&gt; 
  &lt;script type="text/javascript"&gt;
  setInterval( function refresh()
  {
  $('#drawaddrow').fadeOut('slow').load('0355.htm').fadeIn("slow");
  }, 1500);
  &lt;/script&gt;
  </code></pre>
  
  <p>I also tried </p>
  
  <pre><code>        &lt;script type="text/javascript"&gt;
          function refreshPage () {
              var page_y = document.getElementsByTagName("body")[0].scrollTop; 
          window.location.href = window.location.href.split('?')[0] + '?page_y=' + page_y;
  
          }
          window.onload = function () {
              setTimeout(refreshPage, 1500);
              if (window.location.href.indexOf('page_y') != -1 ) {
                  var match = window.location.href.split('?')[1].split("&amp;")[0].split("=");
                  document.getElementsByTagName("body")[0].scrollTop = match[1];
  
              }
          }
      &lt;/script&gt;
  </code></pre>
  
  <p>but that refreshes the whole page I just need a div id refreshed. Without scrolling to the top!</p>