Hi there,
I have a page, where I wish to dynamically change the background color of a specific class of <td> elements. In Netscape's Javascript, I think I can use the classes object to achieve this, but is there anything similar for IE? An example of what I would like to do:
Thanks for any advice, Neil
I have a page, where I wish to dynamically change the background color of a specific class of <td> elements. In Netscape's Javascript, I think I can use the classes object to achieve this, but is there anything similar for IE? An example of what I would like to do:
Code:
function setColor() {
if( targetClass != null ) {
classes[ targetClass ].backgroundColor = "#FFFFFF";
}
}
Thanks for any advice, Neil