Domanda

Is there any way of inspecting jQuery events binded to a node with chrome dev tools?

IE:

<div id="aNode">hello</div>

$('aNode').click(function() {...})

Thanks

È stato utile?

Soluzione

in Chrome dev-tools, after selecting the element, click on the Event Listeners tab on the right:

Screenshot

EDIT

You can also use Visual Events bookmarklet. It's a great tool. so easy to use. so handy.

EDIT 2

I would also like to point you to this article that mentions some of other great features of Google Chrome Dev-Tools.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top