From: Jeremy J Starcher on
On Wed, 26 May 2010 11:09:22 -0700, Matt Kruse wrote:

> What is the best way to find out what happens when I click a link, what
> function calls are fired, and on what elements they are attached to as
> listeners?

May not get you everything, but as an idea try this:

Turn on profiling, click a button, then turn profiling back off.