Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4551624
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T16:39:44+00:00 2026-05-21T16:39:44+00:00

I have a single page jQuery mobile application that consists of several list views

  • 0

I have a single page jQuery mobile application that consists of several list views which I populate dynamically. Whenever I first visit a page they are loaded properly and all the formatting looks great, though if I navigate to another page then return to it, the page will have everything ‘push’ upward by about 50%.

This problem only happens when I click on a link similar to something like

<a href="#mypagewithlist">something</a>

instead of pressing the back button (which shouldn’t cause a page() call).

Here is an example of what some of the pages would be:

<div data-role="page" id="pagewithlist">
    <div data-role="content">
        <ul data-role="listview" id="mylistview"> </ul>
        <!-- I use jQuery Templates to populate the above list -->
    </div>
</div>
<div data-role="page" id="pagewithlink">
    <div data-role="content">
        <a data-role="button" href="#pagewithlist">Go to page with list</a>
    </div>
</div>

At the first load of the page I pull in data from an API and then use that data to populate the empty list with jQuery templates.

Any ideas how to work around this issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T16:39:45+00:00Added an answer on May 21, 2026 at 4:39 pm

    What is the data-url of your original page (the one you’re returning to using the link)? Have you tried assigning an id to that page (div) and changing the link to <a href="#mypagewithlist">something</a>? If the link and the page’s data-url don’t match, jQM fetches the original page again and it is then loaded twice in the DOM, which might cause problems.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a single page jquery mobile application in which there are few parent
I have an application where every single page uses a set of data that
I have a single page jQuery Mobile app with four data-role='pages' in place; so,
My jQuery Mobile app consists of a single index.html page and contains only one
I have a single page web application using jquery and a set of embedded
I currently have a single jQuery script page that I include in my ScriptManager
I have three single html pages in jquery mobile application with phonegap. From a
We have a single page application which loads all content through ajax calls to
I'm using jquery mobile and backbone.js to create a single page mobile application. The
My Jquery mobile application has a simple login page through which the user will

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.