Skip to content

Instantly share code, notes, and snippets.

@johnkpaul
Created January 3, 2012 20:19
Show Gist options
  • Save johnkpaul/1556717 to your computer and use it in GitHub Desktop.
Save johnkpaul/1556717 to your computer and use it in GitHub Desktop.
log all jQuery event triggers to the console
var __temp_trigger = $.fn.trigger;
$.fn.trigger = function(){console.log(arguments, " triggered on element ", this); return __temp_trigger.apply(this,arguments);}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment