title: jQuery animated scroll to top anchor not working?
body: <p>I've got a block of jQuery code that is supposed to scroll (animated) a user to the top of a page when a link is clicked in the footer. Now, it works on my computer (in development) but on a production server, it doesn't animate, it just jumps to the top. Any ideas?</p>
  
  <pre><code>        /* scroll to top */
          $(document).ready(function () {
              $('a[href=#top]').click(function () {
                  $('html, body').animate({ scrollTop: 0 }, 500);
                  return false;
              });
          });
  </code></pre>
  
  <p>the link is in the footer</p>
  
  <pre><code>&lt;a href="#top"&gt;back to top&lt;/a&gt;
  </code></pre>
  
  <p>the anchor is at the top, right after the opening of the body tag</p>
  
  <pre><code>&lt;a name="#top"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>EDIT/UPDATE:
  it appears ALL jQuery is not working on the website.. I've linked to the jQuery library using Google's API</p>
  
  <pre><code>&lt;script type="text/javascript" charset="UTF-8" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Why would this work from my computer, but not from a cloud server?</p>