JqueryMobileスクリプトが含まれている次のXHTML
ページについて考えてみます。page1.xhtml
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Page 1</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>Page Title</h1>
</div><!-- /header -->
<div data-role="content">
<a href="page2.xhtml">Go to page 2</a>
</div><!-- /content -->
<div data-role="footer">
<h4>Page Footer</h4>
</div><!-- /footer -->
</div><!-- /page -->
</body>
</html>
リンクがクリックされたとき、page2.xhtml
はロードされません。(ロード中のアニメーター画像のみが表示されます、それだけです)
この問題はXHTML
ページでのみ発生し、HTMLでは発生しません。
私はSamsungGT-S5302デバイスといくつかのAndroid(電話とタブレットの両方)エミュレーターでテストしました。