title: jQuery .getJSON not working
body: <p>I'm just learning how to utilise ajax/json with jquery and I've hit a brick wall that I just don't understand.</p>
  
  <p>Here is my code - VERY simple code:</p>
  
  <pre><code>$("#click").click(function() {
      $.getJSON("http://localhost/jsontest/a.json", function(data) {
          alert("done"); 
      });
  
     });
  </code></pre>
  
  <p>Basically, load a.json and send an alert to the screen saying done.</p>
  
  <p>Here are the contents of a.json:</p>
  
  <p>{ "done": "37" }</p>
  
  <p>That's it.</p>
  
  <p>It doesn't work though... the alert is not displayed.</p>
  
  <p>Any ideas folks?</p>