开发者

Finding out the events on a page and what are attached to an element

I'm trying to use firebug to debug some pages. What I want to do is look at what the events are against a particular element. For example : http://jsfiddle.net/2LN5G/, I want to use Firebug and select the "Drag me to my target" and for it to take me to "$( ".drag" ).draggable({" section of 开发者_运维问答the page or the JS file.

Is this possible ?


This Firefox extension that works with Firebug might be what you need: http://getfirebug.com/wiki/index.php/Firebug_Extensions#Eventbug


maybe using fireQuery would give you a more precise answer?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜