forum

Home / DeveloperSection / Forums / Parse Json file with Jquery ? not working

Parse Json file with Jquery ? not working

Anonymous User291511-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! 

Updated on 11-May-2013
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By