Find attached / bound events of an element using Chrome Development Tools / Firebug / IE Developer Toolbar

To get the first attached handler on the first $(“#button1”) element

$._data($("#button1").get(0),"events").click[0].handler

JSFiddle

The long story that nobody wants to hear:
I came here searching for a plugin. I was thrilled to see @schmidlop’s answer, but in jQuery that doesn’t actually give me the listener I’m looking for, it just shows the generic handler for jQuery events that eventually call the specific callback. Im still looking for a Chrome plugin that would allow me to right click on an element and let me drill into the handlers attached to the object.

Cause that would be cool.

UPDATE:
I found a chrome extension called jQuery Debugger. You simply “Inspect Element” and choose “jQuery Events” from the “Elements” submenu… https://chrome.google.com/webstore/detail/jquery-debugger/dbhhnnnpaeobfddmlalhnehgclcmjimienter image description here

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)