JSFiddle - React, Tailwind, and code Playground
HTML
<div id = "mmm" >hello</div>
JavaScript
$("div").click(function() {
alert('clicked');
}).bind("mouseout", function() {
alert('mouseout');
});
document.getElementById("mmm").addEventListener('click',function(){alert("ss");},false)
for(ev in $("div").data('events'))
alert(ev + ": " + $("div").data('events')[ev][0].handler);