Vote count:
0
I have the following fiddle: http://ift.tt/1ERsMK7
I'm trying to get the keys from a json string, with
var keys = $.map(a, function(element,key) { return key; }); .
However I am getting:
TypeError: invalid 'in' operand obj
How can I fix this?
asked 29 secs ago
TypeError: invalid 'in' operand obj while getting json keys
Aucun commentaire:
Enregistrer un commentaire