Users Pricing

forum

home / developersection / forums / parse json file with jquery ? not working

Parse Json file with Jquery ? not working

Anonymous User 3234 11 May 2013
Hi Expert!

I am trying to parse json file in my phonegap application. 

here is my code

  $.getJSON('http://shobingg.com/cms/sites/php/message.json',
  function(data)
  {    
      $.each(data, function(i, item) {
          alert (item.message);
      });
      //$("#div-my-table").append("</table>");
  });

Please help me!
Thanks in advance! 

I am a content writter !


1 Answers