Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript n00b Q – Changing Background Color of Table Cells on Click

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33986
    turman
    Member

    OK. I’m super new to any kind of java script. What I want is a menu that, when clicked, changes the background color of a table cell to blue. When a different option is clicked, the current highlighted table should turn back to gray and the new selection should be blue.

    Well, I have all of that working. What I need now is just to have the first option start out highlighted and to become unhighlighted when another option is clicked.

    Any help would be awesome!!!!
    Thanks!!!!!!


    menu


    #85281
    turman
    Member

    Here is the code in full. Sorry about the error.



    menu






























     
     
     


Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.