154
rated 0 times
[
161]
[
7]
/ answers: 1 / hits: 53937
/ 12 Years ago, fri, december 28, 2012, 12:00:00
Possible Duplicate:
test if event handler is bound to an element in jQuery
Tried to do the following (link is jQuery object of 'a' tag):
link.data("events") //undefined even if link has event handlers
jQuery.data(link, 'events') //undefined always also
jQuery._data(link, 'events') //undefined always also
using jquery-1.8.3
So, how to check if element has click handler?
More From » jquery