I want a variable of the json file to be displayed (Date) but it does not seen to work. What am I doing wrong?
<script type="text/javascript">
$(document).ready(function()
{
$.getJSON("http://json-head.appspot.com/?url=http://www.trinum.com/ibox/chatel/images/photofull.jpg&callback=?", function(data)
{
$.each(data.headers, function(i,item)
{
if(i < 2)
{
$("body").append("+item.Date+");
}
});
});
});
</script>