View Single Post
  #5 (permalink)  
Old July 21st, 2004, 04:23 AM
ChrisScott ChrisScott is offline
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Simon,

The original code

Code:
tempCell.setAttribute("class", "negative");
works in Mozilla / NS6+ etc, but fails in IE. You can get around it by using:

Code:
tempCell.className = "negative";
HTH,

Chris

Reply With Quote