I am trying to parse json file in my phonegap application. after searching on Stackoverflow I found this code
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>");
});
you can see the original post from here
what is the problem with my code?
http://shobingg.com/cms/sites/php/message.jsonreturning a an array?