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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:04:42+00:00 2026-05-13T06:04:42+00:00

I have this page: http://www.ryancoughlin.com/files/xml/ – if you select User -> Someones name You

  • 0

I have this page:http://www.ryancoughlin.com/files/xml/ – if you select User -> Someones name

You will see a table populate. I am trying to only show JUST the results of the user you selected. Since I am actually loading an XML file I cant really send data to it. So I figured, load them all then hide EVERY entry but the one you selected from the dropdown.

Any ideas?

Here is an example of the code I am using to hide:
line 145

single_user.find(name_select+":not()").each(function(){$(this).hide();});

The variable name_select is the value of the OPTION tag from the dropdown on the previous screen.

  • 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-13T06:04:42+00:00Added an answer on May 13, 2026 at 6:04 am

    You should reverse your thinking – hide the rows by default, then show the one you want.

    As you append each table row, add the Name value as the id, and add a class to the <tr> element that has a display:none style. This will prevent all the rows from flashing as they are loaded then hidden.

    After the load process completes, show the row where the name_select value matches the id attribute…. $("#" + name_select).show();

    Simple example:

    <html>
    <head>
    <script language="javascript" src="../code/jquery-latest.min.js"></script>
    <style>
    tr {
       display:none;
    }
    </style>
    <script language="javascript">
    $(document).ready(function() {
       $("#3").show();
    });
    </script>
    </head>
    <body>
    <table>
       <tr id="1"><td>1</td></tr>
       <tr id="2"><td>2</td></tr>
       <tr id="3"><td>3</td></tr>
       <tr id="4"><td>4</td></tr>
    </table>
    </body>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this page: http://www.shopdesertridge.com/events/full-calendar/ If you are loading it, you will notice for
So I have this page here: http://www.eminentmedia.com/development/powercity/ As you can see when you mouse
Note: I'm using Google Chrome Currently I have this test page http://www.evecakes.com/doodles/canvas_size_issue.htm It should
I am using JQuery Accordion. I have this page here: http://www.hauppauge.com/site/support/support_colossus.html#tabs-6 What happens is
My goal is to have the url routing as following: http://www.abc.com/this-is-peter-page http://www.abc.com/this-is-john-page What is
i have this page: http://www.tirengarfio.com/rs2/web/miembros/prueba as you can see the font size is 16px
I have this page below: http://www.tirengarfio.com/rs2/web/borrar.php What should i do to put the link
I have this page of US states: http://www.comehike.com/outdoors/country.php?country_id=1&country_name=United%20States if you click on any link
I have a bit of strange problem on this page: http://www.bluprintliving.com/locations it seems that
I have this page: http://www.problemio.com/problems/problem.php?problem_id=214 On it there is a link suggest a solution

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.