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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:19:37+00:00 2026-05-13T19:19:37+00:00

I have an html table, which includes let’s say 1 row and 5 cells

  • 0

I have an html table, which includes let’s say 1 row and 5 cells (C1, C2, C3, C4, C5). (Cells have specific content)

C1 – C2 – C3 – C4 – C5

Usage 1: C3 is used with C1 and C2 at the same time,
Usage 2: C3 is used with C4 and C5 at the same time,

When I am using “C1, C2, C3” then C4 and C5 is not used or When I am using “C3, C4, C5” then C1 and C2 is not used,

So depending on the part that I will use of that HTML table, how can make some cells more attracting and others less ?

For example: If I use (Usage 1) then I want C4 and C5 to be not much attracting or I want them to be disabled, and C1-C2-C3 to be attracting or colored or whatever that comes to your mind.

Thanks.

Edit: To tell more about usage 1 and 2 I will tell about my system, my system is a report downloading system depending on the parameters that I give by using cells.

C1 and C2 includes checkbox lists

I have a Calender and a Submit button in C3,

C4 and C5 includes dropdownlists

The switch works like that, In C4 and C5 I can choose a special report with dropdownlists and then click submit button in C3, If I choose a special report, the parameters in C1 and C2 does not work. If I don’t choose a special report from C4 and C5, then the parameters in C1 and C2 will work. But the calender in C3 will always work.

  • 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-13T19:19:37+00:00Added an answer on May 13, 2026 at 7:19 pm

    Basically, apply some default CSS class to all your cells, when you are using Usage1 for example, then apply some additional CSS class to cells C4 and C5 to make them disabled, also check if this additional class is applied to C1 and C2, if so remove it.

    Similarly when using Usage2 apply this additional class to cells C1 and C2 and remove that from C4 and C5.

    Adding and removing CSS classes is easy in jQuery, use .addClass(‘className’) and .removeClass(‘className’)

    Edit

    In response to your edit, try the logic I mentioned above when user clicks submit. In the JavaScript function which handles submit add and remove CSS classes to the cells.

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

Sidebar

Ask A Question

Stats

  • Questions 382k
  • Answers 382k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You can use a custom widget, override its render method.… May 14, 2026 at 10:34 pm
  • Editorial Team
    Editorial Team added an answer No, that's not possible. You could however, in a PHP… May 14, 2026 at 10:34 pm
  • Editorial Team
    Editorial Team added an answer Are you doing anything with the value of that drop… May 14, 2026 at 10:33 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.