title: Can't get scrollIntoView to work
body: <p>I'm trying to get JQuery's scrollIntoView to work on a page, but it doesn't seem to work. This is a simplified version of the page:</p>
  
  <pre><code>&lt;html&gt;  
  &lt;head&gt;
  
  
      &lt;script type="text/javascript" src="Scripts/jquery-1.6.4.min.js"&gt;&lt;/script&gt;
  
      &lt;script type="text/javascript"&gt;
  $('.top').click(function() {
      $('.bottom')[0].scrollIntoView();
  });
  
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div&gt;&lt;a href ="#" class= "top"&gt;Hello&lt;/a&gt;&lt;/div&gt;
  &lt;div style = "margin-top: 1000px"class = "bottom"&gt;hello&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Whatever I do, I can't get this to work. I'm a beginner at JQuery, so I feel like there's a plethora of things I could be doing wrong here. I've also tried to plugin ScrollTo, of which the result should look a lot nicer, but it doesn't work either. What am I missing?</p>
  
  <p>EDIT: It was suggested that the problem was that I used "#top" instead of ".top". I've updated this but it still doesn't work.</p>