Jump to content

json and jquery [resolved]


johnnyg24

Recommended Posts

I am just getting started with json and retrieving it with jquery's 'getJSON'. I can't get it to work. It looks OK coming over when I view it in Firebug, but I can't get anything to display on my page. Here is the coding:

$(document).ready(function(){	$.getJSON('http://www.estout.com/json.js', function(json) {		$("#here").html(json.pich[0].order)	});})

Any help would be appreciated. Thanksedit:I was usin single quotes when I needed to use double quotes in my JSON. This fixed the problem.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...