Wednesday, December 12, 2001 02:27 AM
The code given by Sujatha, wont work in Netscape.
For that u have to identify the Netscape browser and use Layers for that
window.document.layers['id' + i].bgColor = red;
else if (document.all)
window.document.all['id' + i].style.background = color;
document.all for IE
and document.layers for Netscape!.
I think so this,...can work in both the browsers