<link rel="stylesheet" href="https://apps.bdimg.com/libs/jquerymobile/1.4.2/jquery.mobile.min.css">
<script src="https://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://apps.bdimg.com/libs/jquerymobile/1.4.2/jquery.mobile.min.js"></script>
$(document).on("pageinit","#pageone",function(){
$("p").on("swipeleft",function(){
<div data-role="page" id="pageone">
<h1>The swipeleft Event</h1>
<div data-role="content">
<p>If you swipe me in the left direction, I will disappear.</p>
<p>Swipe me in the left direction!</p>
<p>Swipe me in the left direction, too!</p>