7wp
7wp

Reputation: 12694

View javascript events in browser

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

Upvotes: 14

Views: 10518

Answers (2)

Jort
Jort

Reputation: 1411

I have been using Visual Event for a few years now. It's a simple bookmarklet, meaning you just have to drag it into your bookmarks, and then click it while on your page to visually highlight all javascript events. You can also trigger the events at will, and probably a whole lot more. It's very easy and intuitive to use, and perfect to quickly find what you're looking for. Give it a try:

https://github.com/DataTables/VisualEvent

Upvotes: 3

SLaks
SLaks

Reputation: 887767

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.

Upvotes: 15

Related Questions