Trigger all events on an element using jQuery

triggerAll is a simple plugin that will allow you to trigger all the events attached to an element and or collection

(function($){
	$.fn.triggerAll = function(){
		return this.each(function(){
			var $this = $(this);
			$.each($this.data('events'),function( k, v){
				$this.trigger( k );
			})	
		});
	}
})(jQuery);