json - Javascript query response from Parse.com -


i doing query parse.com through javascript function below.

function dofunction () { var query = new parse.query("english"); query.find({   success: function(results) {     alert (results)   },   error: function(error) {     // error instance of parse.error.   } }); } 

while can see length of query response alerting results.length, cant inside results. alert(results) shows [object object],[object object]...

what response format, json or array? how can values?

thanks

use console.log in code:

function dofunction () { var query = new parse.query("english"); query.find({   success: function(results) {     console.log(results);   },   error: function(error) {     // error instance of parse.error.   } }); } 

and see in developer tools(f12) -> console, being returned response.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -