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

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

ms access - C# - Using OleDbParameter on table name -