[nycphp-talk] Finding event listeners?
jonbaer at jonbaer.com
Tue Sep 4 20:28:35 EDT 2007
Actually a pretty good question ... I was under assumption that you
could call Event.observers in Prototype and get back an array of
element and handlers but after glimpsing through the API was not the
case. In fact since it's not a DOM-level call it seems that it would
be pretty API independent. It seems that they even removed that and
implemented a stacked cache a while back ...
Interesting that you can't get back an array of listeners for an
On Sep 4, 2007, at 8:00 PM, tedd wrote:
> At 1:37 PM -0400 9/4/07, Kenneth Downs wrote:
>> to determine the event listeners that have been added to an
>> element. Can anybody steer me on this? Thanks...
>> Kenneth Downs
> 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?
> http://sperling.com http://ancientstones.com http://earthstones.com
> New York PHP Community Talk Mailing List
> NYPHPCon 2006 Presentations Online
> Show Your Participation in New York PHP
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk