如何使用Firebug跟踪事件? [英] How can I trace an event using Firebug?

查看:78
本文介绍了如何使用Firebug跟踪事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,当我检查元素时,我想知道绑定到元素的所有事件。我可以在哪里找到这些?

解决方案

您可以使用Visual Event bookmarklet:
http:// www.sprymedia.co.uk/article/Visual+Event



它覆盖了表示DOM项目附加的每个事件的一些图标,您可以快速检查点击该图标的活动代码。


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

解决方案

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.

这篇关于如何使用Firebug跟踪事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆