title: How to access remote JSON data as a local array
body: <p>I'm able to use Jquery's $.get function to access JSON data from another URL, but how can I use that data (as an array) elsewhere in my code?</p>
  
  <p>Consider the following code:</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
      $(function () {        
  
      $.get("/some/other/url/that/returns/json", function(data){
          var d = eval(data);
      });
  
      alert(d);
      &lt;/script&gt;
  </code></pre>
  
  <p>That's not functional, but it show's what I'd like to do.  Thanks in advance for your help/tips.   </p>