Mayu Mayooresan answer is correct for using CDN-Hosted jQuery-Mobile.
If you want to host it locally, download jQuery Mobile , extract the files to the /js/ folder. The structure should look like this:
HTML files directly in the root folder
WebApp / Index.html
Scripts in root / JS folder
Webapp / js / jquery.mobile-1.3.0.min.css
Webapp / js / jquery-1.8.2.min.js
Webapp / js / jquery.mobile-1.3.0.min.js
Images as root / JS / images / folder
WebApp / JS / Images / Ajax-loader.gif
Webapp / js / image / badge-18-black.png
Webapp / js / image / icon-36-black.png
Webapp / js / image / badge-18-white.png
Webapp / js / image / icon-36-white.png
In your HTML file:
<head> <link rel="stylesheet" href="js/jquery.mobile-1.3.0.min.css" /> <script src="js/jquery-1.8.2.min.js"></script> <script src="js/jquery.mobile-1.3.0.min.js"></script> </head>
Omar
source share