JSFiddle - React, Tailwind, and code Playground

by mochatony

HTML

<script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.js"></script>
<div id='box'>
    tapped me
</div>

CSS

#box{
    background-color:red;
    width:200px;
    height:200px;
}

JavaScript

$(document).ready(function() {
    $('#box').bind('tap',function(event) {
        alert('halo');
    });    
});