Link to home
Start Free TrialLog in
Avatar of burtonrhodes
burtonrhodes

asked on

How to get Name/Value pairs while looping through JSON object (javascript)

i can't seem to figure out how to get the "name" while walking through a json object tree.  I have a jsfiddle below that demonstrates the issue.  The "fieldErrors" object contains an array of name/value pairs and currently I can only display the "value".  How does one get the "name"?

http://jsfiddle.net/burtonrhodes/sCjNf/
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of burtonrhodes
burtonrhodes

ASKER

ugh...  i knew it was something extremely simple.  Thank you.
You're welcome