質問

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

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top