O'Reilly logo

jQuery and JavaScript Phrasebook by Brad Dayley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Loading jQuery Mobile

<head>   <link rel="stylesheet"     href="local/jquery.mobile-custom.min.css" />   <script src="local/jquery-2.0.3.min.js"></script>   <script src="local/jquery.mobile-custom.min.js"></script> . . . or  for CDN . . .   <link rel="stylesheet" href=     "http://code.jquery.com/mobile/1.4.0/jquery.mobile-1.4.0.min.css" />   <script src=    "http://code.jquery.com/jquery-1.8.2.min.js"></script>   <script src=    "http://code.jquery.com/mobile/1.4.0/jquery.mobile-1.4.0.min.js">    </script> </head>

Similar to what you did for jQuery UI, you need to load jQuery before loading jQuery Mobile. Once jQuery is loaded, you can load the jQuery Mobile .js file from an external CDN source or a locally ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required