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.

Ryan Sukale

Ryan Sukale

Ryan is just a regular guy next door trying to manage his life and finances.

You may also like...

Leave a Reply

Your email address will not be published.