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...



Apparently, none.

http://objectmix.com/javascript/116920-how-discover-if-attachevent-done-element-2.html

They also suggest if you use something like the yahoo UI library, or write your own, you can get listeners attached through the library, but not anything attached in another mechanism. (IE if you are including some cool script you got from the web to do something, and it adds event listeners, they won't be tracked).

Note: I know enough Javascript to troubleshoot and fix scripts written by others, as well as review other people's code, but I don't actually know a lot of Javascript intimately.
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to