Parse JSON Google Finance in jQuery -
Parse JSON Google Finance in jQuery -
i trying parse next json data, seems returns blank, i'm not sure if doing right.
could please have look!
$.getjson('http://www.google.com/finance/info?infotype=infoquoteall&q=shmn,^dji,^ixic,^bsesn,^spx,^ftse', function(data){ $('#content').html(data); });
jsfiddle: http://jsfiddle.net/a4jkt/
first of won't info because url doesn't conform same origin policy, can fixed adding &callback=?
end of url, tells jquery treat request jsonp.
also instead of applying info straight div
element alerted instead, appears show info that's returned, should hence utilize next jsfiddle new starting point.
http://jsfiddle.net/a4jkt/4/
jquery json
Comments
Post a Comment