Thus, I modified the inspect()-function from Ariel Tapia (codeprojects.com) a bit. My version will not only return a HTML string with all the attributes and functions that are inside the object. It will also add the values of these.
Installation: Just unzip the file and include it via
(As an alternative, you can also just copy and paste the function directly into your source.)
var htmlResult = inspect(myObject, null, null);
htmlResult will now hold a string-representation of the properties and functions of
Note: An alternative for Firefox addons is Venkman. Haven’t really figured out how to use that though.
So, if you don’t want to bother with Venkman or need an object-inspector for any other purpose, I think you’ll be fine with my function provided above.