title: Using JQuery in Drupal 7
body: <p>I'm writing my own Drupal 7 module, and like to use JQuery in it.</p>
  
  <pre><code>$('#field').toggle();
  </code></pre>
  
  <p>But I'm getting this error:</p>
  
  <pre><code>TypeError: Property '$' of object [object DOMWindow] is not a function
  </code></pre>
  
  <p>It seems that JQuery is not loaded. Otherwise $ should be defined.</p>
  
  <p>Though I actually include it in the header:</p>
  
  <pre><code>&lt;script type="text/javascript" src="http://rockfinder.de/misc/jquery.js?v=1.4.4"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Do I have to do anything else to activate JQuery in Drupal? Is $ being overwritten by Drupal?</p>
  
  <p>That's the website: <a href="http://rockfinder.orgapage.de" rel="noreferrer">http://rockfinder.orgapage.de</a></p>