I have a script that decorates all links with an extra tracking click handler. First version: $("a").click()...
However, I would also like to find elements that have an onclick handler already on them. Second version: $("a,[onclick]").click But how could I detect all elements that have onclick handlers, even if they were added after the fact using a javascript library? Thanks, Glen