title: Using the ScrollTo plugin to scroll to the element clicked on
body: <p>I want to use the ScrollTo plugin to scroll to the element that has been clicked on. So that the element that has been clicked on ends up at the top of the page. I have the following code:</p>
  
  <p>scripts.js</p>
  
  <pre><code>$(document).ready(function(){
      $("#post").hover(
          function(){
              $("#sbox").toggle("slow");
          },
          function(){
              $("#sbox").toggle("slow");
          });
          $(".jumbotron").click(function(){
              jQuery(this).ScrollTo();
          });
  
  });
  </code></pre>
  
  <p>This throws the error:</p>
  
  <pre><code>[Error] TypeError: 'undefined' is not a function (evaluating 'jQuery(this).ScrollTo()')
      (anonymous function) (scripts.js, line 10)
      dispatch (jquery-1.11.1.js, line 4641)
      handle (jquery-1.11.1.js, line 4309)
  </code></pre>
  
  <p>How do I do this?</p>