I am struggling to access the content of an object and can't seem to figure out why. It seems like maybe the properties that Firebug shows the object has are not actually there, or I might just be using the wrong syntax to access them.
Here is the function in question:
function(userData) {
console.log(userData); // statement 1
console.log(userData.t_nodecontent); // statement 2
}
When running this function, FireBug displays the data for statement 1 but returns undefined
for statement 2. (Note: Previously mentioned seeing unknown
which was incorrect)
Could there be something obvious that I am missing in trying to reference the value of t_nodecontent
? I'm feeling quite lost and confused about this.