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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:37:00+00:00 2026-06-12T03:37:00+00:00

I have this table that is currently 1200+ rows, of which these rows have

  • 0

I have this table that is currently 1200+ rows, of which these rows have a column that has a 3 dot (0.0.0) version number in them. So what I have at the moment at least unless a better way is presented is. The columns I am looking for have a class, and a rel. The rel has the same value as that displayed for that column.

What I also have is a select box, that has these same versions listed in it. The idea is to be able to select a version and have the table hide all rows with versions that are not the one selected, leaving only the selected version visible.

This is my failure of an attempt currently. I have tried a few variations but I keep ending up with a syntax error of some sort.

$('#client_version').change(function()
{
    var vers = $(this +' option:selected').val();
    $('.zm_ver').each(function(index, elem)
    {
        var theCol = $(elem);
        if(theCol.attr('rel') == vers){alert('yes');return true;}
        else
        {
            theCol.parent().hide();
        }
    });
});
  • 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-12T03:37:01+00:00Added an answer on June 12, 2026 at 3:37 am

    You can use:

    $('#client_version').change(function() {
        $('.zm_ver[rel!="'+this.value+'"]').parent().hide();
    });
    

    Note: this.value gives you the currently selected value in the <select>

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

Sidebar

Related Questions

We have a (currently InnoDB) table which contains roughly 500,000 rows. This represents a
I have a table with a column like this that is currently live: name
I currently have a table structure that looks something like this(some details omitted): ColumnName
I have this table: id feed_id ... Let's say that I have 500 rows
I have this table with pages, these pages have parents that are also pages
I have this big database table that tracks (currently in production), a persons medical
I have a table that currently has two columns per row and I need
I currently have a site with a table that has Lat/Long float columns, and
I'm currently working with MS SQL 2005, and have a table that has 17
I have a table that has sortable rows. The table is generated from a

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.