在浏览器中查看javascript事件 [英] View javascript events in browser

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

问题描述

我正在使用Firefox。有没有什么可以让我看到实时触发的所有JavaScript事件?

解决方案

单击 Firebug 的HTML选项卡中的元素,然后单击日志事件。



然后,您可以在控制台选项卡中查看该元素收到的每个事件。

您甚至可以单击其中一个来浏览事件的属性对象。


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

解决方案

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天全站免登陆