antonpug
antonpug

Reputation: 14286

How to capture DOM events in Firebug?

Is there a way to see all the DOM events that fire on a page - like onClick and onBlur? I am not finding any way in Firebug to see those.

Upvotes: 0

Views: 1397

Answers (1)

jakub.g
jakub.g

Reputation: 41238

You can right-click an element in HTML tab and choose Log events option. If you do it on <body> you'll basically see all the events on the page. It will be a flood of events, but you can then turn it off, and use find bar in Firebug to filter the events that are interesting to you.

Blog article from Firebug's developer on this: http://www.softwareishard.com/blog/firebug/firebug-tip-log-dom-events/

Upvotes: 0

Related Questions