I'm developing a web application which contains the collapsible listview. When I click on the <li>
the current page ( #biblepage
) has to navigate to another page ( #chapter
) . The #biblepage
page contains the collapsible listview and the #chapter
page has to load the corresponding data.
Html code:
<!-- Home Page -->
<div data-role="page" id="biblepage" data-transition="flip">
<div data-role="header" data-position="fixed">
</div>
<div data-role="content">
<div id="collapse_list"></div>
</div>
</div>
<!-- Chapter Page -->
<div data-role="page" id="chapter">
<div data-role="header" data-position="fixed" data-theme="b">
<h1></h1>
</div>
<div data-role="content"></div>
</div>
But when I clicked on the <li>
.The #chapter
page is not opening(not loading any data).
code: http://jsfiddle.net/TzX7N/2/
Thanks in Advance.