jquery mobile - problem loadPage

Mam problemy z uzyskaniemjQuery-mobile załaduj stronę, aby załadować moją następną stronę do „content" div.

Odciąłem moją stronę do podstaw i oto kod.

index.html:

<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>JQuery Mobile Load Page Test</title>
    <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.9.1.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 id="containerTest" data-role="content">

        <input type="button" id="nextPage" data-inline="true" value="Load Second Page"/>

    </div> <!-- /content -->

</div> <!-- /page -->

<script>

    $( "#nextPage" ).on( "click", function()
    {
        $.mobile.loadPage("nextPage.html",
        {
            pageContainer: $('#containerTest')
        });
    });

</script>

</body>
</html>

inextPage.html

<div data-role="page">

    <p>this is the next page</p>

</div> <!-- /page -->

questionAnswers(1)

yourAnswerToTheQuestion