title: scroll to div ajax/javascript
body: <p>Ok, for the life of me, I can't get this to work. I've searched for examples and I found tons. But none of them seem to work for me.</p>
  
  <p>Question is simple, I have a <code>div</code> that loads content from the database.
  I need to scroll to the bottom of the div when the page is loaded.
  here's an example.</p>
  
  <pre><code>&lt;body&gt;
  &lt;div id="container"&gt;
  &lt;div id="messagewindow"&gt;
  &lt;?php
  foreach($results as $r){
  //content loop..
  }
  ?&gt;
  &lt;div id="scrolltome"&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>I added the <code>div</code> id <code>scrolltome</code> in hopes it would work.</p>
  
  <p>Thank you in advance!</p>