How to determine which JavaScript events are fired

As the name says, how can I find which JavaScript events are fired when interacting with a web page?

+6
javascript jquery debugging events
source share
4 answers

when you installed firebug, the following functions will collect data about all javascript functions that are launched and how much time is spent on their execution:

console.profile([title]) 

Includes JavaScript profiler. the optional argument header will contain the text that will be printed in the header of the profile report.

 console.profileEnd() 

Disables the JavaScript profiler and prints the report.

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

+10
source share

Firebug extension firefox is great software that lets you learn about this and more. Also here are some links to help you:

Debug JavaScript events with Firebug

http://www.dustindiaz.com/event-capturing-evil/

+4
source share

All these messages are useful, firebug, of course, and I suggest from personal experience this screen effect helped me, its called event delegation in jquery "

+2
source share

Use the Stack tab in Firebug. Place the debugger somewhere, and on the Script tab, on the right side, there are three tabs. See the Stack tab for details.

+1
source share

All Articles