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

  • Home
  • SEARCH
  • 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 6925437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:47:23+00:00 2026-05-27T10:47:23+00:00

I am using the DataZombies fork of jqtouch to create an indexed list. I

  • 0

I am using the DataZombies fork of jqtouch to create an indexed list. I include the extension script and css and use markup along the lines of:

<div class="s-scrollwrapper indexed">    
    <ul id="county-list" class="edgetoedge">
        <li id="A" class="sep" >A</li>
        <li>test A</li>
        <li id="B" class="sep" >B</li>
        <li>test B</li>
        <li id="C" class="sep" >C</li>
        <li>test C</li>
        <li id="D" class="sep" >D</li>
        <li>test D</li>
    </ul>
</div>

This works fine. But when I use jquery to re-write the contents of the list the skip to index functionality doesn’t work. I’ve tried calling the following function after the DOM alterations…

initListIndices()

…but it’s not working. The indices down the right hand side still appear and the styling on the separator li’s is all good but it’s not doing it’s thing. Any suggestions?

  • 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-27T10:47:23+00:00Added an answer on May 27, 2026 at 10:47 am

    The way I solved this was to create a function that clears the list indicies data. Calling this and then re-adding the indexed class to the list wrapper before calling initListIndices() seemed to fix it.

    function clearListIndices() {
        // for each element with the class of .indexed
        $('body').find('.indexed').each(function(){
            // reset the listIndex data associated with this element
            $(this).data('listIndex', null);
            // removed the class to avoid multiple instances of the class    
            $(this).removeClass('indexed');     
        });
    
        // for each listIndex ul
        $('body').find('.listIndex').each(function(){
            // remove this from the DOM
            $(this).remove(); 
        });
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using CSS, how can I create a partial border as per image below I
Using a CSS image sprite, I'm creating an 'interactive' image where hovering over certain
Using Jenkins or Hudson I would like to create a pipeline of builds with
Using Entity Framework CodeFirst, how do I create a created datetime column that gets
Using Github's Issue Tracker, how can one create an issue tied to an organization
Using PyObjC , you can use Python to write Cocoa applications for OS X.
Using C# and System.Data.SqlClient, is there a way to retrieve a list of parameters
Using batch script, I want to get a first token of a line delimited
Using the new mvc4 now gives us access to use facebook oauth otb. I
Using a populated Table Type as the source for a TSQL-Merge. I want to

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.