title: Unable to complete the .getJSON request?
body: <p>To start off, this is a cross-domain request I am trying to complete. Here is a link to the Strava API whitepaper that I am using as a reference. <a href="https://stravasite-main.pbworks.com/w/page/51754151/Strava%20REST%20API%20Method%3a%20segments%20show" rel="nofollow">Strava Wiki</a></p>
  
  <p>Please see the code I am using below. If it is not possible to perform the request with jQuery, can you give me an example of another way to do it? (ex. AJAX) I've done my research but I admit that I do not know enough to understand why the request is not working. Do I need to insert an argument that waits for the response before displaying the alert, or is that implied? Thanks in advance!</p>
  
  <pre><code> &lt;html lang="en"&gt;
   &lt;head&gt;
     &lt;meta charset="utf-8"&gt;
     &lt;title&gt;jQuery demo&lt;/title&gt;
   &lt;/head&gt;
   &lt;body&gt;
     &lt;a href="http://jquery.com/"&gt;jQuery&lt;/a&gt;
     &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"&gt;&lt;/script&gt;
     &lt;script&gt;
          $(document).ready(function(){
              $("a").click(function(event){
                  $.getJSON('http://www.strava.com/api/v1/segments/637215', function(data) {
                      alert(data);
                  });
              });
           });
     &lt;/script&gt;
   &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>