Very useful
$(“SELECTOR”).data(“events”);
All bound event handlers are stored in the elements data context under the events key
This can be very useful when debugging with tools like FireBug
$(“form”).submit(function () { alert(‘submit form’); });
$(“form”).data(“events”);
> Object { submit=[1] }
Resources
$(“SELECTOR”).data(“events”);
All bound event handlers are stored in the elements data context under the events key
This can be very useful when debugging with tools like FireBug
$(“form”).submit(function () { alert(‘submit form’); });
$(“form”).data(“events”);
> Object { submit=[1] }
Resources