Finding the code that attached an event listener
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?
精彩评论