Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to monitor events in Firebug?

For example I have a dropdown box and I want to see the javascript code that runs after clicking on that dropdown box. How to accomplish this?

The problem is that if I press button "break on next" it stops on hover event before I click on the item.

like image 279
tsds Avatar asked Jun 06 '11 15:06

tsds


People also ask

How do I see events fired on a website?

To view events fired on an element, follow the below steps in Google Chrome: Open Google Chrome and press F12 to open Dev Tools. Go to Event Listener Breakpoints, on the right: Click on the events and interact with the target element.

How can you tell if a event is triggered?

Using Developer Tools. Go to the sources tab. Click on the Event Listener Breakpoints, on the right side. Then perform the activity that will trigger the event, i.e. click if the event that used is click, double click if it is dblclick event.


1 Answers

Right-click the element in the HTML tab, then click Log Events.

like image 174
SLaks Avatar answered Sep 24 '22 07:09

SLaks