View Full Version : Change TABLE <TD> bgcolor onClick Link

06-03-2005, 07:05 AM
What I am trying to do is change the <TD NAME="ME">HI</TD> bgcolor when I click on a link somewhere other then inside the table. Any comments or suggestions would greatly be appreciated. Thanks.


06-03-2005, 08:22 AM
<td id="me">The background color of this cell should change color on click</td>
<a href="#" onclick="document.getElementById('me').style.background='#000099';return false">Change background color of cell</a>