Created
February 20, 2014 13:14
-
-
Save peebeebee/9113261 to your computer and use it in GitHub Desktop.
Get jQuery function on handlers.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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