Note that there are some explanatory texts on larger screens.

plurals
  1. POUse Two pages in single html in JqueryMobile
    primarykey
    data
    text
    <p>I'm using jquery mobile with phone gap on top of the android to create a mobile application.I included two pages in single html file.It is not working as I expected.below is the code snips </p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html &gt; &lt;head&gt; &lt;meta charset="UTF-8"&gt; &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt; &lt;link rel="stylesheet" href="css/jquery.mobile-1.3.2.min.css"/&gt; &lt;script src="JQMobile/jquery-1.9.1.min.js"&gt;&lt;/script&gt; &lt;script src="JQMobile/jquery.mobile-1.3.2.min.js"&gt;&lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div data-role="page" id="pageone"&gt; &lt;div data-position="fixed" data-role="header" data-theme="b"&gt; &lt;h1&gt;Mobile Portal&lt;/h1&gt; &lt;/div&gt; &lt;div data-role="content"&gt; &lt;div class="ui-grid-a"&gt; &lt;div class="ui-block-a"&gt; &lt;a href="#runticketsgrid" data-role="button"&gt;Tickets&lt;/a&gt;&lt;br&gt; &lt;/div&gt; &lt;div class="ui-block-b"&gt; &lt;a href="#runticketsgrid" data-role="button"&gt;Second Column&lt;/a&gt;&lt;br&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div data-role="page" id="ticketsgrid"&gt; &lt;div data-role="header"&gt; &lt;h1&gt;Page Title&lt;/h1&gt; &lt;/div&gt; &lt;!-- /header --&gt; &lt;div data-role="content"&gt; &lt;p&gt;Page content goes here.&lt;/p&gt; &lt;/div&gt; &lt;!-- /content --&gt; &lt;div data-role="footer"&gt; &lt;h4&gt;Page Footer&lt;/h4&gt; &lt;/div&gt; &lt;!-- /footer --&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Here I want to load "ticketsgrid" page when user click the "Tickets" div but it doesn't work,Could anyone help me to find out this? </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload