title: Scroll to top Javascript code not working
body: <p>I copied and pasted the code for scroll to top in my webpage from the following website:</p>
  
  <p><a href="http://jsfiddle.net/neeklamy/RpPEe/" rel="nofollow">http://jsfiddle.net/neeklamy/RpPEe/</a></p>
  
  <p>Even though the scroll to top button does not showing up,
  my webpage source code is as follows:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Rough&lt;/title&gt;
  &lt;style type ="text/css"&gt;
  .scrollup {
  width: 40px;
  height: 40px;
  position: fixed;
  bottom: 50px;
  right: 100px;
  display: none;
  text-indent: -9999px;
  background: url('icon_top.png') no-repeat;
  background-color: #000;
  }
  &lt;/style&gt;
  &lt;script&gt;
  $(document).ready(function () {
  
  $(window).scroll(function () {
      if ($(this).scrollTop() &gt; 100) {
          $('.scrollup').fadeIn();
      } else {
          $('.scrollup').fadeOut();
      }
  });
  
  $('.scrollup').click(function () {
      $("html, body").animate({
          scrollTop: 0
      }, 600);
      return false;
  });
  
  });
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;h1&gt;Top of the page&lt;/h1&gt;
  
  &lt;article style="height: 1000px"&gt;
  &lt;p style="margin-bottom: 600px"&gt;Scroll down the page&amp;hellip;&lt;/p&gt;
  &lt;p&gt;Then click the box.&lt;/p&gt;
  &lt;a href="#" class="scrollup"&gt;Scroll&lt;/a&gt;
  &lt;/article&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>