I have this in my html file:
var jsonReturn = 'http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(%22YHOO%22%2C%22AAPL%22%2C%22GOOG%22%2C%22MSFT%22)%0A%09%09&env=http%3A%2F%2Fdatatables.org%2Falltables.env&format=json';
var stockCount = jsonReturn.query.count;
The error returned on Chrome's debugger : Uncaught TypeError: Cannot read property 'count' of undefined
Here is the jfiddle : http://jsfiddle.net/P6nMv/
Here is a snippet of the JSON return object :
**Question is why is it undefined when i am parsing it correctly via **jsonReturn.query.count