Ok, for some reason my getJson is not working. I collect stock information and it works in all major browsers except IE.
I created JSfiddle here: http://jsfiddle.net/qZhSk/
If someone can help me understand what I'm doing wrong, he will be SUPER helpful.
thanks!
EDIT
I found a solution myself. The problem was in my url request. If anyone else has this problem, here is the answer:
var url = "http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quotes%20WHERE%20symbol%3D'NPO'&format=json&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys"; $.getJSON(url + "&format=json&callback=?", function(data) { var items = []; $.each(data.query.results.quote, function(key, val) { items.push('<li id="' + key + '">' + val + '</li>'); }); $('<ul/>', { 'class': 'my-new-list', html: items.join('') }).appendTo('body'); )};
m_gunns
source share