Tuesday, 27 August 2013

Is there a way to tell programmatically if clicking an element will have any effect?

Is there a way to tell programmatically if clicking an element will have
any effect?

Given an element, is there any way to tell with Javascript/jQuery whether
there are any click events on that element?
I mean ANY click events. If clicking it would cause ANY code to execute, I
want to know about it.
Is this possible?
It must be, if Firebug and Chrome Dev Tools can see all the event
listeners tied to an object...

No comments:

Post a Comment