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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:04:51+00:00 2026-06-06T15:04:51+00:00

<table border=0 cellPadding=5 cellSpacing=0 width=100%> <tr> <td colSpan=5 align=center><a href=index.html title=Home><img src=theImages/logoAlone.png /></a></td> </tr>

  • 0
<table border=0 cellPadding=5 cellSpacing=0 width=100%>
            <tr>
                <td colSpan=5 align=center><a href="index.html" title="Home"><img src="theImages/logoAlone.png" /></a></td>
            </tr>
            <tr>
                <td colSpan=5 height=15></td>
            </tr>
            <tr>
                <td width=18% class=fdBBorder id=type1><A href="findDoctors.html">Find A Doctor</a></td>
                <td width=18% class=fdBBorder id=type2><A href="patSvc.html">Patient Services</a></td>
                <td width=18% class=fdBBorder id=type3><A href="mapNDir.html">Maps & Directions</a></td>
                <td width=18% class=fdBBorder id=type4><A href="trainProgs.html">Training Programs</a></td>
                <td width=18% class=fdBBorder id=type5><A href="aboutUs.html">About Us</a></td>
            </tr>
            <tr>
                <td align=left valign=top id=type11>
                    <div class=mainP><img src="theImages/greenArrow.png" align=absmiddle /> <A href="findDoctors.html">Doctor's List</a></div>
                    <div class=mainP><img src="theImages/greenArrow.png" align=absmiddle /> <A href="findDoctors.html">Staff Highlight</a></div>
                </td>
            </tr>
            <tr>
                <td align=left valign=top id=type22>
                    <div class=mainP><img src="theImages/greenArrow.png" align=absmiddle /> <A href="findDoctors.html">Doctor's List</a></div>
                    <div class=mainP><img src="theImages/greenArrow.png" align=absmiddle /> <A href="findDoctors.html">Staff Highlight</a></div>
                </td>
            </tr>
        </table>

My question is if i hover over Find a Doctor, i want that TD to change bgColor and also the bgColor for TD id type22, pretty much change multiple TD background color when you put your mouseover on type1?
How do i create a jquery for that?
I have this but this changed the color onload:

$(document).ready(function(){
    $("#type1").css("background-color", "red");
    $("#type11").css("background-color", "red");
});

But i want this to be on hover.

Thanks

  • 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-06T15:04:53+00:00Added an answer on June 6, 2026 at 3:04 pm

    Please look at this similar question. Your solution will be like:

    $(document).ready(function(){
       $("#type1").mouseover(function(){
          $("#type1").css("background-color", "red");
          $("#type22").css("background-color", "red");
       }).mouseout(function(){
          $("#type1").css("background-color", "");
          $("#type22").css("background-color", "");
        });
    });​
    

    Check it out this demo

    UPDATED
    Since you asked me how to two different id to do same mouseover functions. You will need it to be an external function. Something like:

      $("#type1").mouseover(function(){highlight()});
      $("#type22").mouseover(function(){highlight()});
      function highlight() {
          $("#type1").css("background-color", "red");
          $("#type22").css("background-color", "red");
      }
    

    See demo here

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

Sidebar

Related Questions

CSS table tr {border-bottom:1px solid #008999} HTML <table width=100% cellspacing=0 cellpadding=0> <thead> <tr> <th
I have a table defined as follows in HTML: <table border=0 cellpadding=0 cellspacing=0 style=width:100%;>
Hey I am trying to recreate the following HTML <table border=0 cellspacing=0 cellpadding=2 width=100%
So far, I'm doing this programmatically using VB.net/ASP.net: <table cellspacing=0 cellpadding=4 border=0 style=border- width:0px;width:100%;border-collapse:collapse;font-size:12px;>
I would like to replace the following html block: <table class=t12PageBody cellpadding=0 cellspacing=0 width=100%
I have a table that looks like this <table cellpadding=1 cellspacing=0 width=100% border=0> <tr>
The code is pretty simple: <table id=tabel_user style=width: 100%; border: 0; background-color: white; cellpadding=0
I have the following html page: <body> <div class=hide1 style=width:1000px; height:1000px;> <table width=100% border=0
Anobody suggest me how to access DIV in td <table border=0 cellpadding=0 cellspacing=0 width=95%>
I have the following markup on my page <td colspan=2> <table border=0 cellpadding=3 cellspacing=1

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.