NYCPHP Meetup

NYPHP.org

[nycphp-talk] Finding event listeners?

tedd tedd at sperling.com
Tue Sep 4 20:00:41 EDT 2007


At 1:37 PM -0400 9/4/07, Kenneth Downs wrote:
>I cannot seem to figure out which javascript function I would use to 
>determine the event listeners that have been added to an element. 
>Can anybody steer me on this? Thanks...
>
>--
>Kenneth Downs

Kenneth:

You probably should post this question to a javascript list, but a 
listener is triggered by an event.

I can think of 7 (may be more) and they all start with "on" (i.e., 
onBlur, onClick, onSubmit, onLoad, onChange, onMouseOut, onMouseOver) 
not counting onreadystatechange via ajax/ahah.

So, what triggers the event for the element?

Cheers,

tedd
-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com



More information about the talk mailing list