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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:45:05+00:00 2026-06-13T02:45:05+00:00

This is a basic example: http://jsfiddle.net/KFHyG/5 showing the 2 plugins together. How can I

  • 0

This is a basic example: http://jsfiddle.net/KFHyG/5 showing the 2 plugins together.

How can I make it so that:
1. This works with more than one filter on the page.
2. jScroller is reinitialise. See I have added the code but doesn’t work correctly.

var scroller = $('.scroller');
    scroller.jScrollPane({
        verticalDragMinHeight: 60,
        verticalDragMaxHeight: 60,
        showArrows: true,
        arrowScrollOnHover: true
    });
    jScroller = scroller.data("jsp");

    $(".search").keyup(function() {
        $.uiTableFilter($("table.searchme"), this.value);
        jScroller.reinitialise();
    });   
  • 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-13T02:45:06+00:00Added an answer on June 13, 2026 at 2:45 am

    For this to work, you need to differentiate both tables and scrollpanes.

    Here’s a working example

    HTML

    <input type="text" class="search" data-id="1" />
    
    <div id="scroller_1" class="scroller">
        <table class="searchme_1">
            <thead>
                <tr>
                    <th scope="col">
                        Product Name</th>
                    <th scope="col">
                        Description</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>Large product0</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product1</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product2</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product3</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product4</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product5</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product6</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product7</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product8</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product9</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product10</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product11</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product12</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
            </tbody>
        </table>
    </div>
    <br />
    <hr />
    <br />
    
    <input type="text" class="search"  data-id="2" />
    <div id="scroller_2" class="scroller">
        <table class="searchme_2">
            <thead>
                <tr>
                    <th scope="col">
                        Product Name</th>
                    <th scope="col">
                        Description</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>Large product0</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product1</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product2</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product3</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product4</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product5</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product6</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product7</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product8</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product9</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product10</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product11</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
                <tr>
                    <td>Large product12</td>
                    <td><a href="http://example.com">Find out more</a></td>
                </tr>
            </tbody>
        </table>
    </div>
    

    JAVASCRIPT

    $(document).ready(function() {
        var options = {
            verticalDragMinHeight: 60,
            verticalDragMaxHeight: 60,
            showArrows: true,
            arrowScrollOnHover: true
        }
    
        var scroller_1 = $('#scroller_1');
        scroller_1.jScrollPane(options);
        var jScroller_1 = scroller_1.data("jsp");
    
        var scroller_2 = $('#scroller_2');
        scroller_2.jScrollPane(options);
        var jScroller_2 = scroller_2.data("jsp");
    
        $(".search").keyup(function() {
            $.uiTableFilter($("table.searchme_" + $(this).attr('data-id')), this.value);
            eval("jScroller_" + $(this).attr('data-id')).reinitialise();
        });    
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basic question. document.getElementById(yy).onmouseover = hi; //document.getElementsByTagName(li).onmouseover = hi; ... In this example, http://jsfiddle.net/8fURz/1/ why
Here's a basic example of what I have going on here: http://jsfiddle.net/kgqkM/2/ What I'm
This is a fairly basic knockout mapping example on jsfiddle. Works on pretty much
I've created this example here... http://jsfiddle.net/rhvbG/5/ var buttons=[ '<svg version=1.1 id=Layer_1 xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink x=0px
This is my code: http://jsfiddle.net/KfVJK/ This is the code to add redactor: $(document).ready( function()
How can I produce an HTML/CSS layout similar to this working example: http://mythoughtswouldscareyou.tumblr.com/ I
this is a basic ember routing example that doesn't update the url to /posts
http://jsfiddle.net/JonVisc/ufHBd/4/ So in the jsFiddle the basic steps are to: Click anywhere on 'Hello
I'm following this basic example how to create a system driver: http://sriramk.com/blog/2007/09/world-windows-driver-from-scratch.html When I
I have a basic sound manager class that's derived from an online example: http://www.xnawiki.com/index.php?title=Basic_Sound_Manager_For_XNA_GS_3.0

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.