Hi there,
I have a multi-page template. On the homepage I have a listview which is closed when the homepage is initially displayed. The following code is in my homepage:
- <div data-role="collapsible" data-collapsed="true" data-mini="true">
- <h4>Options</h4>
- <ul id="options" data-role="listview" data-mini="true">
- <li><a href="#adddate">Add Date</a></li>
- <li><a href="#removedate">Remove Date</a></li>
- </ul>
- </div>
When I select Add Date and go to adddate page. I add dates on this page. This adddate page has a link like this
- <a href="#home" data-icon="gear" class="btn ui-btn-right">Home</a>
which takes user back to homepage. But when I click on this like and homepage is displayed with listview open. I don't know how to close this listview before displaying homepage.
Any ideas.
Joe