So, I'm attempting to access the content of an object and for the life of me can't figure out why I can't. I'm starting to believe that the object doesn't have the properties that Firebug indicates that it does. More likely than that I'm just not using the right syntax to access them.
Give the following function:
function(userData) {
console.log(userData); // statement 1
console.log(userData.t_nodecontent); // statement 2
}
Which generates the following FireBug output for statement 1
and undefined
for statement 2. (Note: Originally incorrectly indicated that I was seeing unknown
)
Is there something obvious that I'm overlooking in the way I'm attempting to reference the value of t_nodecontent
? I'm at a loss :(