开发者

How can I trace an event using Firebug?

Fo开发者_开发技巧r instance when I inspect the element, I want to know all events bound to an element..Where can I find these?


I asked a related question a while back, and got this answer:

You can see the jquery expression in firebug DOM inspector using FireQuery in firefox https://addons.mozilla.org/en-us/firefox/addon/firequery/

It worked for me!


You can use the Visual Event bookmarklet at: http://www.sprymedia.co.uk/article/Visual+Event

It overlays some icons representing each event that is attached to DOM items and you can quickly inspect the event's code by clicking on the icon.


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.

How can I trace an event using Firebug?


Download fireQuery. Its a firebug addon that shows you any event that is bound to an element as well as any .data that maybe assigned to that element


try http://getfirebug.com/wiki/index.php/Firebug_Extensions#Eventbug

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜