i have json file which is hosted on the server. this is the link.
http://jsonji.azurewebsites.net/json1.json,
and i am able to get json data when this file is on the my local system. this is the code
$(document).ready(function () {
$.getJSON("http://jsonji.azurewebsites.net/json1.json",
function (data) {
$.each(data.person, function () {
$("ul").append("<li> Name:" + this['name'] + "</li><li>Age" + this['age'] + "</li><br/>");
});
});
});
if you know then please help me