View Full Version : <td> background color on mouseOver

03-03-2005, 11:24 PM
function GreyON(change) {
document.getElementById(change).style.backgroundColor = "B9B9B9";

CSS wont work for me because i need to change multiple <td>'s on one mouseover. However the above script isnt working.

I also tried:

function GreyON(change) {
document.getElementById(change).className = "ThisClassON";

This did not work either. What can i do?

03-03-2005, 11:45 PM
/me engages his psychic powers

I sense a problem with your code.