All event

get all events

by criptkiller

HTML

<div>

</div>

CSS

div {
    background-color:Lavender;
    min-width:100px;
    min-height:100px;
    border:1px solid LightSkyBlue;
    margin:10px;
    display:inline-block;
}

div div {
    border: 1px solid red;   
}

JavaScript

(function ($){
    
    $.eventReport = function (selector){
        return $.each(selector,function (){
             var $this = $(this);
            for(var rs in $this[0]){
                
                $this.append("<b>Name:</b> "+rs+"<br />");  
            } 
        });
    } 
    
})(jQuery);
console.dir($.eventReport($("div")));