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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:43:35+00:00 2026-05-27T17:43:35+00:00

I have a JQM page with two data-role=listview . They both share the same

  • 0

I have a JQM page with two data-role=”listview”. They both share the same data-set, one listview is text-only, the other one also includes icons.

I want to use the data-filter=”true” option on both listviews, but only with one filter, which updates both listviews.

I’m clueless on how I could do this, so any hints are greatly appreciated.

Here’s what I have:

 <ul data-role="listview" data-filter="true" data-divider-theme="c">
    <li data-role="list-divider">B</li>
    <li><a href="#profile" data-transition="slide"><img src="loc/icons/brandSprite.png" class="ui-li-icon">One</a></li>
    <li><a href="#profile" data-transition="slide"><img src="loc/icons/brandSprite.png" class="ui-li-icon">Two</a></li>
    <li><a href="#profile" data-transition="slide"><img src="loc/icons/brandSprite.png" class="ui-li-icon">Three</a></li>
    ...

 <ul data-role="listview" class="iconList">
    <li data-icon="false"><a href="#profile" data-transition="slide"><img src="img/brands/icon_one.png" /><h3>One</h3></a></li>
    <li data-icon="false"><a href="#profile" data-transition="slide"><img src="img/brands/icon_two.png" /><h3>Two</h3></a></li>
    <li data-icon="false"><a href="#profile" data-transition="slide"><img src="img/brands/icon_three.png" /><h3>Three</h3></a></li>
    ...

The first list has the filter, which should filter both the first and second list.

Thanks for help!

  • 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-27T17:43:35+00:00Added an answer on May 27, 2026 at 5:43 pm

    both are separate lists. data-filter=”true” is for filtering in one list only, where it is set.
    what u can do is a hack maybe. put data-filter=true in both. then after the list is refreshed, hide the filter on the second list. (display:none). Now put an event handler which types on the second filter field whatever u type on the top one.
    This will work but is not recommended. I suggest instead of using data-filter=”true” u implement your own filtering mechanism for this.
    Or just put data filter on top one and then hide those elements on the 2nd list, which get hidden on the first.

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

Sidebar

Related Questions

I have a single HTML page where I need to have three jqm pages
When I have only one modal dialog It works in Safari too. In this
I have a page in my jQuery Mobile app with two link-based buttons, I
I have a basic JQM page which displays a left side sliding menu when
I am struggling to get JQM to reinitialize a jquery page with a listview
This is bizarre. I have a div. It is set with display: none .
I have a jQM application that uses the header as a navigation bar. The
I have a multi-page document and I'm binding to the pageshow event of page
I am building a webapp using the jqm framework and I have been attempting
On perusing the Sencha Touch kitchen sink, I noticed that they have somehow disabled

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.