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 9164573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:42:58+00:00 2026-06-17T14:42:58+00:00

I have this error: I have Multipage in jQuery Mobile , and I work

  • 0

I have this error:

I have Multipage in jQuery Mobile, and I work in the main page, and load data dynamically in the second page (data-role=page) into a <ul data-role="listview">... </ul>, and then this page is shown perfectly. Here in the second page, when I want to change to the main page and return and do the same, the list <ul ...> isn’t refreshed. The first one works, but the second, when I return again, isn’t refreshed.

The code is:

<div data-role="page" id="uno">

  <a href="#" onClick="LoadDataInto_MyUL_ListL();$.mobile.changePage('#dos');">

</div>

<div data-role="page" id="dos">
  <a href="#" onclick="$.mobile.changePage('#uno');" >Return</a>

  <ul data-role="listview" id="MyUL_List">
  </ul>

</div>

Inside LoadDataInto_MyUL_ListL();, I have $('#MyUL_List').html("<li>...</li>"), and firstly I had too $('#MyUL_List').listview('refresh'), but I had this error:

Uncaught Error: cannot call methods on listview prior to initialization; attempted to call method ‘refresh’

and I remove refresh, but without this error, listview doesn’t refresh.

How do I fix this problem?

  • 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-06-17T14:43:00+00:00Added an answer on June 17, 2026 at 2:43 pm

    Sometimes you need to initialize a jQuery Mobile widget before using it.

    It can be initialized like this:

    $('#MyUL_List').listview().listview('refresh');
    

    The same thing stands for other jQuery Mobile elements.

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

Sidebar

Related Questions

I have this error message could not load assembly 'system.data.entity, version 4.2.0.0, culture=neutral,publickeytoken=b77a5c561934e089' or
I am currently using jQuery Mobile on a project and have run into a
I need to load aspx page into jQuery UI's modal dialog window. I used
I have this error, Fatal error: Call to undefined method CI_Input::file() in D:\xampp\htdocs\application\controllers\page.php on
I have this error when trying to generate the meta model with JOOQ: org.jooq.exception.DataAccessException:
I Have this error message : Possible unitended reference comparison; to get a value
I have this error message: Msg 8134, Level 16, State 1, Line 1 Divide
I have this error that is keeping me from moving forward. I basically have
I have this error when I am trying to read the file: Exception in
I have this error appearing in my web service and even though I'v had

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.