Robert James wrote:


Is there a way to list all the methods that a particular JavaScript object has? Or is there a tool that can do this?

Speaking of tools, I highly recommend the Firebug extension for Firefox, truly essential for web development.

You could easily log your object into the console, like

console.log(obj);

and inspect it from there by clicking on it, but you can also use Inspect > DOM to have an overview of all objects.

And many many more useful things... I couldn't live (work) without it.



--Klaus

Reply via email to