Quand je compile un jquery mobile
code, la balise script ne fonctionne pas, ai-je oublié un code? Suggérez-moi une réponse, mon code a été affiché ci-dessous ..
<!DOCTYPE html>
<html>
<head>
<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/jquery-1.8.3.min.js"></script>
<script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>WELCOME TO MY HOMEAPP</h1>
</div>
<div data-role="content">
<p>Hi Frndz..</p>
</div>
<div data-role="footer">
<h1>USER LOGIN</h1>
</div>
</div>
</body>
</html>
Réponses:
1 pour la réponse № 1Assurez-vous que votre application dispose d'une autorisation d'accès à Internet.
Dans le fichier config.xml:
<access origin="*" />
Et dans AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />