The blog has moved to ... Many google searches point here so I am leaving it operational, but there will be no new posts.

Friday, December 30, 2011

Inspect all jQuery events on an element

Very useful


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'); });
> Object { submit=[1] }


No comments: