User Tools

Site Tools


jsajax:reading_data_with_jquery
$.getJSON('data.json', function(data) {
  console.log(data);
  $.each(data, function(key, val) {
    console.log(key+':'+val.name);
  });
});
jsajax/reading_data_with_jquery.txt · Last modified: 2016/03/17 12:52 by leo