When I do the following:
alert(objecr);
It shows as object Object
How do I display the content of what is in the object? I also tried
alert(JSON.stringify(objecr));
but it shows the following:
"[object Object]"
try console.dir(object) and check out the script console. it will reflect through the object instance (works best in WebKit based browsers).
Other ways could be getting the member list with Object.getOwnPropertyNames and Object.keys invoking on the instance and also on its prototype chain (Object.getPrototypeOf(object))..
objecrcome from? BecauseJSON.stringifyworks.