Users Pricing

forum

Home Forums Parse Json file with Jquery ? not working – MindStick

Parse Json file with Jquery ? not working

Anonymous User 3356 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! 

1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md