私の問題が何であるかを見つけることはできませんが、この質問はどこでも説明され、回答されていることを知っています。これは私のコードです:
<!doctype html>
<html>
<head>
<title>jQM Complex Demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css" />
<script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
<script src="script.js" type="text/javascript"></script>
<!--<meta http-equiv="Content-Type" content="txt/html; charset=utf-8" />
<script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
<script src="mobileJquery.js"></script>-->
</head>
<body>
<div>
<h1><a href="http://www.stronteb.eu">test application</a></h1>
<p id="testparagraaf">test</p>
<img src="stront.gif"/>
</div>
<!--<script src="script.js" type="text/javascript"></script>-->
</body>
</html>
およびscript.js:
$( document ).on('pageload', 'index.html', function(e){
alert('Pageload');
});
ここでは、jquery を script.js の前にロードする必要があることを知っています。コードをhtmlに入れてみましたが、役に立ちません...
ここで何が問題なのか知っている人はいますか?
敬具