开发者

Finding the code that attached an event listener

开发者 https://www.devze.com 2023-02-13 06:40 出处:网络
I\'m trying to find the line of JavaScript that attached an event to a node. Chrome\'s inspector shows me several entries under \'click\' in Event Listeners, but each of these just points to the same

I'm trying to find the line of JavaScript that attached an event to a node. Chrome's inspector shows me several entries under 'click' in Event Listeners, but each of these just points to the same line in _createResponder in prototype.js. I'd like to know where these events were att开发者_如何学运维ached, and what code runs when they fire. Is there any way to find this out?

0

精彩评论

暂无评论...
验证码 换一张
取 消