<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="//apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.css">
<script src="//apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
$(document).on("pagebeforecreate",function(){
alert("触发 pagebeforecreate 事件 - 在页面在初始化时,增强开始之前,弹出一些文本信息。")
<div data-role="page" id="pageone">
<div data-role="main" class="ui-content">