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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:09:22+00:00 2026-05-27T22:09:22+00:00

I am adding tags using jquery templates to jquery Mobile website. It adds li

  • 0

I am adding

  • tags using jquery templates to jquery Mobile website. It adds li tags, however it does not style in the standard jqueryMobile style. I can see it visually and by inspecting DOM: jquery mobile adds classes and convert to div and span classes, where in my case I see plane ul and li tags without any jquery mobile classes. I have a version, that it loads first Jquery Mobile, and then injects jquery template and Mobile does not refresh that list and doesnt style it. Is there a way to fix it and display standard jMobile list after jquery template was injected? Thanks

    • 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-27T22:09:23+00:00Added an answer on May 27, 2026 at 10:09 pm

      jQM Docs:

      • http://jquerymobile.com/demos/1.0/docs/lists/docs-lists.html

      Updating lists If you add items to a listview, you’ll need to call the refresh() method on it to update the styles and create any nested
      lists that are added. For example:

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

      Note that the refresh() method only affects new nodes appended to a
      list. This is done for performance reasons. Any list items already
      enhanced will be ignored by the refresh process. This means that if
      you change the contents or attributes on an already enhanced list
      item, these won’t be reflected. If you want a list item to be updated,
      replace it with fresh markup before calling refresh.

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

    Sidebar

    Related Questions

    How to colorize even (or odd) table columns using jQuery? (without adding classes manually)
    I'm developing sites using progressive enhancement implemented completely in jQuery. For instance, I'm adding
    I'm adding some <script/> tags from javascript to load some libraries (e.g., jquery). When
    Adding functionality to a class can be done by adding a method or by
    When adding a DLL as a reference to an ASP.Net project, VS2008 adds several
    I'm having some trouble with a few routines that are using jQuery to dynamically
    I'm trying to dynamically create a div to show error messages using jquery. I'm
    I'm adding some <script> tags dynamically to the head element after page load. I
    I'm using the jQuery UI dialog to present content in a new iFrame. Everything
    I'm currently writing a function for parsing some HTML and adding tags where necessary.

    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.