I’m tracking some data using console.log, an object with form data, and because the amount of data is greater than what FB will display in the console I get a “more…” appended to the string displayed in the console:
Object { elementName="lessonPlanName", elementType="text", more...}
But when I click on the link I get message saying “There are no properties to show for this object.”
How can I view all the items of the object in the console?
Thanks
Sounds like a Firebug bug—happens sometimes. Try closing the tab and reopening it, it sometimes works, but usually you have to close Firefox completely.
Additionally you can do a lot more than just console.log.
console.dir(obj)andconsole.dirxml(ob)for example. One is made for outputting object key/value pairs and one is made for outputting xml.See the full docs here: http://getfirebug.com/wiki/index.php/Console_API