Skip to content

Instantly share code, notes, and snippets.

@peebeebee
Created February 20, 2014 13:14
Show Gist options
  • Save peebeebee/9113261 to your computer and use it in GitHub Desktop.
Save peebeebee/9113261 to your computer and use it in GitHub Desktop.
Get jQuery function on handlers.
/**
* Type this in the console.
* Doubleclick on the handler information you want.
* It will show the REAL function that will be executed instead of the jQuery handler :)
*/
// >= jQuery 1.8
jQuery._data( $('.element').get(0), "events");
// <= jQuery 1.8
jQuery( $('.element').get(0) ).data( "events" );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment