title: ReferenceError: Can't find variable: $
body: <p>I am using jQuery. This is my coding on my main page:</p>
  
  <pre><code>&lt;script type="text/javascript" src="script.js"&gt; 
  &lt;/script&gt;
  </code></pre>
  
  <p>and my script.js is:</p>
  
  <pre><code>$(document).ready(function(){    
       $("#title").click(function () {
          alert("Works!");
      });
  });
  </code></pre>
  
  <p>My full coding can be found here: <a href="http://pastie.org/8676656" rel="noreferrer">http://pastie.org/8676656</a>.</p>
  
  <p>Using a tool on the browser, I found an error in my javascript code:</p>
  
  <pre><code>ReferenceError: Can't find variable: $
  </code></pre>
  
  <p>on line:</p>
  
  <pre><code>$(document).ready(function() {
  </code></pre>
  
  <p>Any help would be appreciated.</p>