I am using following code to grab data from JSON.
$(document).ready(function()
{
$.getJSON("http://www.example.com/data.php?id=113&out=json", function(data) {
$.each(data.issue.page, function(i,item) {
imagesJSON[i] = item["@attributes"];
});
alert(imagesJSON.length);
});
});
It works in Mozilla, Chrome and other browser but not in IE. (Not in any Version).
See Question&Answers more detail:os