how to determine which JavaScript events are being triggered

debugging, events, javascript, jquery

Solution

when you have firebug installed, the following functions will gather data of all the javascript functions being triggered, and how much time is spent executing them:

console.profile([title])

Turns on the JavaScript profiler. The optional argument title would contain the text to be printed in the header of the profile report.

console.profileEnd()

Turns off the JavaScript profiler and prints its report.

More info can be found at http://getfirebug.com/console.html

Problem

As the title says, how can I find what JavaScript events are being triggered as I interact with a webpage?

Original source

Related problems