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/
LVL 3
burtonrhodesAsked:
Who is Participating?
 
leakim971Connect With a Mentor PluritechnicianCommented:
check here : http://jsfiddle.net/sCjNf/1/

 $("#myConsole").append('fieldError Name:' + item).append("<br/>");
0
 
burtonrhodesAuthor Commented:
ugh...  i knew it was something extremely simple.  Thank you.
0
 
leakim971PluritechnicianCommented:
You're welcome
0
All Courses

From novice to tech pro — start learning today.