title: How to restore scroll position of refreshed div in jQuery?
body: <p>I have a very large div which makes the page have scrollbars vertically and horizontally. </p>
  
  <p>Every few minutes, I want the div's content to be refreshed, so I use jquery get to reload the div contents into the div. </p>
  
  <p>The catch is that I don't want the place on the screen that the user was looking at to be changed, I want the div to reload, but the user should still be looking at the same spot in the div (meaning the div should not scroll back to (0,0).</p>
  
  <p>What sometimes happens when overwriting the html into the div with $( "#mainwrapper" ).html( data );, the div is momentarily empty, so it shrinks, and then is refilled, but the user is now at (0,0)</p>
  
  <p>Hope this makes sense.</p>