title: scrolling up and down slowly with JQuery
body: <p>I have this code for scrolling up and down in Html :</p>
  
  <pre><code>&lt;div id="Response" class="comment"&gt;&lt;/div&gt;
  &lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  &lt;div class="but4 , text15"&gt;&lt;a id="Resp" href="#rp"&gt;Answer&lt;/a&gt;&lt;/div&gt;
  </code></pre>
  
  <p>and this code in Jquery :</p>
  
  <pre><code>&lt;script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      $("#Resp").click(function () {
          $("html").animate({ scrollTop: $("#Response").offset().top }, 1200);
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>but it's not working .. how can I fix this ? I want when I click on answer it scroll to up and go to Response div .</p>