Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access events added with attachEvent() / addEventListener() in JavaScript

How can I access events added with attachEvent() / addEventListener() in JavaScript?

Use case: debug events using FireBug's console.

like image 724
cllpse Avatar asked Mar 25 '09 11:03

cllpse


1 Answers

There is no way to access them.

Depending on what you're trying to achieve, better way to debug the events might be to output the event properties you're interested in from the event handler function...

like image 181
kkyy Avatar answered Oct 03 '22 16:10

kkyy