title: push json items into array
body: <p>How do I push items returned from this json file into an array called places:</p>
  
  <pre><code>var places = [];
  
  $.ajax({    
      url: "http://www.example.com/places.json",
      dataType: 'jsonp',
      timeout: 5000,
      success: function(data, status) {
          $.each(data, function(i, item) {
              places = item.latitude+','+ item.longitude;    
          });
      },
      error: function() {
          $("#status").html('There was an error loading the data.');
      }
  });
  </code></pre>