Invalid Property Error in IE6 for style.color = “grey”
By Vincent on December 23, 2010
if(document.getElementById(labelID)!=null) document.getElementById(labelID).style.color = "grey";
Here labelID was the id of the <code><span></code> that surrounded the text I wanted to grey out.
So the fix here is to change the color value “grey” to “gray”. Damn you alternate spelling!