JSFiddle - React, Tailwind, and code Playground

by redhotsly

HTML

<script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.js"></script>
<div>
Example for Stack Overflow Question <a href='http://stackoverflow.com/questions/8648596/how-to-use-jquery-mobile-for-its-touch-event-support-only-no-ui-enhancements'>How to use jQuery Mobile for its touch event support only (no UI enhancements)?</a>
</div>

<hr/>

<div id='b'>swipe me</div>
<div id='msg'>Nice!</div>

<hr/>
<div>This button demonstrates the problem</div>
<button type="button">Click Me!</button>

CSS

div, button{
    padding:10px;
}

JavaScript

$('#msg').hide();
$('#b').live('swiperight', function() {
    $('#msg').toggle();
});