This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Combine external toolbar, external panel, and external widget Ajax navigation demos #7362
Closed
Description
The popup works when I just loaded the page, but not after I transition to another page by clicking a link.
Here is the html code for my header:
<div data-role="header">
<h1>Some header</h1>
<a class="ui-btn ui-btn-right ui-icon-bars ui-btn-icon-notext" href="#header-menu" data-rel="popup"></a>
</div>
<div id="header-menu" data-role="popup">
<ul data-role="listview" data-inset="true">
<li><a href="/session/new">Log in</a></li>
<li><a href="/account/new">Sign up</a></li>
</ul>
</div>
I am using jQuery 1.11.0 and jQuery mobile 1.4.2 with Ruby on Rails 4.1.