查看浏览器的JavaScript事件 [英] View javascript events in browser

查看:137
本文介绍了查看浏览器的JavaScript事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Firefox。有什么在那里,会告诉我的一切,是实时得到触发JavaScript事件?

I'm using Firefox. Is there something out there that will show me all the JavaScript events that are getting triggered in real time?

推荐答案

您可以在萤火虫的HTML标签右键单击元素,然后单击日志事件。

You can right-click an element in Firebug's HTML tab and click Log Events.

您将看到,然后通过在控制台选项卡中该元素收到每一个事件。结果
你甚至可以点击其中的一个探索事件对象的属性。

You will then see every event received by that element in the Console tab.
You can even click one of them to explore the properties of the event object.

这篇关于查看浏览器的JavaScript事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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