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 -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

Delphi 7 and decode UTF-8 base64 -