• 0

How to get the list of event listeners for a dom element in javascript

Sometimes when debugging its useful to be able to query the list of event listeners on the DOM element. You can easily do that by typing the following command in the console
NOTE: This function is only available to help you debug something in the chome console and and is not available through regular javascript as of this writing.