How can I trace an event using Firebug?

后端 未结 5 928
庸人自扰
庸人自扰 2021-01-13 05:43

For instance when I inspect the element, I want to know all events bound to an element..Where can I find these?

5条回答
  •  滥情空心
    2021-01-13 05:52

    There's Firebug extension Eventbug.

    Eventbug is a Firebug extension that lists all of the event handlers on the page grouped by event type...


    In Chrome's Developer Tools there is Event Listeners tab in the Elements panel, which lists all listeners attached to an element.

    enter image description here

提交回复
热议问题