This repository was archived by the owner on Oct 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Basic navigation broken on AJAX-loaded pages #2637
Comments
Hi, Try to change the id of the page < div data-role="page" id="myPage" > in file2.html to myPage2 |
Have you tried to use a unique id for all pages? The code above uses "mypage" in both files. |
Changed |
I guess this has been a known issue for months that's just not important enough to fix before release: #1995 This kind of landmine is frustrating enough to make me switch to sencha. JQM was supposed to be easy. |
Two quick notes:
As to why its loading the original page on click and not displaying an error, we'll address that as a separate bug [edit] link markdown |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
File1 has two links to file2 -- one with rel=external and one without. If you click the link without rel=external, even simple page navigation within page2 is busted. That is
<a href="#page2">link</a>
doesn't work when file2 is ajax loaded. It instead displays file1 again.Busted in 1.0RC-1 and latest. IMHO this is basic functionality to be broken in a release candidate.
file1.html:
file2.html:
The text was updated successfully, but these errors were encountered: