How do I find out what javascript function is being called by an object's onclick event? Even better, can I then find out which included .js file that function is in?
I use Chrome's Developer Tools for this:
Check the click
box, and then click on the element on the page you want to find the handler for. If you are using jQuery (or similar library), you may have to step through their code before you get to yours.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With