title: Using JQuery getJSON with other JavaScripts included gives ReferenceError
body: <p>I made a small example HTML page to get JQuery's getJSON method working. It looks like below (sorry for the sloppiness, this was just a proof of concept to then later add into a larger project):</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
  function test() {   
  $.getJSON("http://api.flickr.com/services/rest/?&amp;method=flickr.people.getPublicPhotos&amp;api_key=e999b3a5d47d013b780e8ac255c86266&amp;user_id=24579658@N03&amp;format=json&amp;jsoncallback=?",    
                  function(data){
                        $.each(data.photos.photo, function(i,photo){
       $("&lt;img/&gt;").attr("src", "http://farm5.static.flickr.com/" + photo.server + "/" + photo.id + "_" + photo.secret + ".jpg").appendTo("#images2");
      //alert();
          if ( i == 6 ) return false;
        });
  });
  </code></pre>
  
  <p>}
  </p>
  
  <p>I would then call that method when something was clicked using </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
                              $(function() {
                                  $("#yo").click(test);
                              });
      &lt;/script&gt;
  </code></pre>
  
  <p>This worked fine in a project where the only JS I included was JQuery and these were the only functions. However, once I added it to my other project, it through errors. The other project has some mootools libraries included which I thought might've been doing it. However, even after completely removing the mootools stuff and just using this jquery stuff, I still get the error below:</p>
  
  <p>ReferenceError: $ is not defined</p>
  
  <p>I do have other javaScripts included such as a google one and some other ones I've made, but they don't use JQuery or Mootools. Can anyone explain why I'd be getting this error?</p>