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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T10:43:24+00:00 2026-05-12T10:43:24+00:00

I have a number of tables, which have nested tables. I using jQuery to

  • 0

I have a number of tables, which have nested tables. I using jQuery to hide some of the table cells as a number are empty or the contents irrelevant.

I use jQuery to hide all TD’s and then jQuery to show them, for instance, if they contain a <P>.

Unfortunately some of the TD’s don’t contain anything but still need to be shown. The class the TD’s are given is dynamic so I wont be able to code for them all (Sensibly) however they do all end ‘Node’

I was wondering if its possible to do something like…

$(function() {
   $('TR .*Node').css('display','inline');
});
  • 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-12T10:43:25+00:00Added an answer on May 12, 2026 at 10:43 am

    This will select any tds with Node somewhere in their class name.

    $('td[class*=Node]').css('display','inline');
    

    This will select any tds with Node at the end of their class name.

    $('td[class$=Node]').css('display','inline');
    

    Bear in mind that .show() does roughly the same thing as .css('display','inline');

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

Sidebar

Related Questions

I have a SQL table which has a number of fields ID | Value
I have a table with a binary column which stores files of a number
I have a number of tables that use the trigger/sequence column to simulate auto_increment
I have a number of tables containing some basic (business related) mapping data. What's
I'm trying to speed up SELECT queries in MySQL tables which already have some
I have a table which is referenced by foreign keys on many other tables.
I have a pair of nested tables which seem to work fine in Firefox,
I have a number of tables in an eclipse SWT application. They are Table/TableViewer
I have a NewsStories tables which I'm left joining with some related tables. Each
I have a table which is full of arbitrarily formatted phone numbers, like this

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.