NYCPHP Meetup

NYPHP.org

[nycphp-talk] Finding event listeners?

Ken Robinson kenrbnsn at rbnsn.com
Wed Sep 5 07:26:34 EDT 2007


At 06:38 AM 9/5/2007, Kenneth Downs wrote:
>John Campbell 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...
>>>
>>
>>
>>It is not possible to get a listing using the W3C DOM methods.  You
>>will have to use a custom event manager if you want to be able to get
>>an array of references of the function objects.
>>
>
>Urg.  I figured as much but was hoping I was wrong :(

You might want to to take a look at the Yahoo User Interface Library 
(YUI) at <http://developer.yahoo.com/yui/>.  When using the Yahoo 
event functions, I believe you can get what you're looking for.

Ken 




More information about the talk mailing list