title: Simple jQuery addClass not working
body: <p>I have this short code, </p>
  
  <pre><code>$("#contact").click(function(){
  $("#contact").addClass("clicked");
  });
  </code></pre>
  
  <p>And it is not working, returning me </p>
  
  <blockquote>
    <p>"Uncaught TypeError: $ is not a function"</p>
  </blockquote>
  
  <p>, ref to the 2nd line </p>
  
  <pre><code>$("#contact").addClass("clicked");
  </code></pre>
  
  <p>So, jquery is working cause he is recognizing the first line, and the element <code>$("#contact")</code> is correctly named cause he is detecting the click function. I can´t guess why is that line failing.</p>
  
  <hr>
  
  <p>After seeing all your comments, </p>
  
  <pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript"&gt;
          $(document).ready(function(){
              $("#contact").click(function(){
                  $("#contact").addClass("clicked");
              });
          });
          &lt;/script&gt;
  </code></pre>
  
  <p>My code is just like that. I think jquery is well inserted, and its all in the head of the page</p>