Results 1 to 2 of 2
  1. #1
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Tacoma, Washington, USA
    Posts
    431
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Change Cell Background on Click

    I would like to be able to click on a link in the left column of a table to change the background image in the right column. Here's what I've got so far, but it doesn't work:

    <table>
    <tr>
    <td>
    1

    2
    </td>
    <td id="myCell">
    </td>
    </tr>
    </table>

    What do I need to change? Where did I go wrong?
    Daisy

  2. #2
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Tacoma, Washington, USA
    Posts
    431
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Re: Change Cell Background on Click

    I figured it out. Part of it was how I was writing the onClick statement. The other part was a mistaken in the link to the image. Here's what worked for me:

    Forest
    Daisy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •