You can see javascript code that is attached as event to any element on the page. In Developer tools its in the Elements tab and each element has “Event Listeners” – there you see what events and what javascript will be catched and executed.