<link rel="stylesheet" href="/js/jquery.mobile-1.3.2.min.css">
<script src="/js/jquery-1.8.3.min.js"></script>
<script src="/js/jquery.mobile-1.3.2.min.js"></script>
$(document).on("pageinit",function(event){
$(window).on("orientationchange",function(event){
alert("方法改变为:" + event.orientation);
<h1>orientationchange 事件</h1>
<div data-role="content">
<p><b>注释:</b>您必须使用移动设备或者移动模拟器来查看该事件的效果。</p>