title: Uncaught TypeError: $ is not a function
body: <p>I can't solve this problem where the console gives this error: <code>Uncaught TypeError: $ is not a function</code>. This is the code it points to:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function() {
      $(".linky").click(function(){
          var t = $(this); //&lt;-ERROR POINTS HERE
          var y = $("#0"+t.attr("id")).offset().top;
          $('html,body').animate({scrollTop: y},500);
      });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>Any help would be much appreciated!</p>