How to access key itself using javascript
- by Wondering
Hi All,
I have a json like:
var xx= {'name':'alx','age':12};
now i can read the value of name which is 'alx' as xx[0].name, but how to retrieve value of 'name' itself, means how i can fetch Key @ run time.
Please let me know if my question is not clear and you guys want more info.
Thanks.