JSFiddle - React, Tailwind, and code Playground
by Juan Muñoz
HTML
<div class="content"><span>Hola Mundo</span><br><input type="text" value="HOLA"></div>
CSS
.content{
background:green;
width:100%;
margin: 0 auto;
}
JavaScript
$(document).ready(function (){
$('.content').bind ( {
click: function (){
alert("Click Normal");
},
mouseenter: function(){
alert("dentro");
},
mouseleave: function(){
alert("salio");
},
contextmenu: function(){
alert("click Derecho");
},
change: function(){
}
});
});