title: Consuming JSON web service using JavaScript/jQuery
body: <p><em>I know, I know, "JS" in JSON and "j" in jQuery stands for JavaScript. Feel free to edit the title if you find a better formulation.</em></p>
  
  <p>When I type in the URL "http://beep-beep" in my browser, I get a nicely formatted JSON file containing "{sound: 'beep', occurence: 2}", meaning the web service works as supposed to. Then I thought to myself: let's do that in CRM, in <code>onLoad</code> function for the creation of an entity. So, I'm trying to execute the following, copied directly from the SDK.</p>
  
  <pre class="lang-javascript prettyprint-override"><code>alert("Commence.");
  
  $.ajax({
    type: "POST",
    url: "http://beep-beep",
    data: "{}",
    contentType: "application/json; charset=utf-8",
    dataType: "json",
    success: function (msg) {
      alert("Yippi!");
    }
  });
  
  alert("Finish.");
  </code></pre>
  
  <p>However, the code crashes telling me that "$" is not a defined symbol. Isn't jQuery an integral part of CRM JavaScript engine?! What am I missing here? Is there an easier way to consume a JSON feed?</p>