Finalizing the Cordova Exhibition app

The last part we need to check is index.html; the following code snippet shows this part, which is the most important, of the index.html page:

<!DOCTYPE html>
        <!-- omitted code ... -->
        <link rel="stylesheet" type="text/css" href="css/app.css" />
        <link rel="stylesheet" href="jqueryMobile/">

        <script src="jqueryMobile/jquery-1.10.2.min.js"></script>
        <script src="jqueryMobile/"></script>

            var deviceReadyDeferred = $.Deferred();
            var jqmReadyDeferred = $.Deferred();
            $(document).ready(function() {
                document.addEventListener("deviceready", function() {
                }, false);
 $(document).on("mobileinit", function ...

Get JavaScript Mobile Application Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.