jQuery.hasEventListener icon indicating copy to clipboard operation
jQuery.hasEventListener copied to clipboard

hasEventListener is a jQuery plugin which checks if an Object or a DOM element actually has a particular/live/delegated event listener bound to it.

Results 3 jQuery.hasEventListener issues
Sort by recently updated
recently updated
newest added

Me again... The reason for the break is that in JQuery 1.8+ they moved the $.data("events") to $._data('events") as to not mess with someones data-events tag. I made a quick...

These changes make the plugin work with jQuery 1.8 with the new Sizzle filter declarations and internal event data structure. (At least for regular non-delegated events). It also still works...

Viewing the example fiddle (http://jsfiddle.net/sebastienp/eHGqB/) and changing the jQuery version to 1.7+ will show those returning false.