农历四月๑乛◡乛๑

function cellClick(obj)
{
if(obj.style.color=="rgb(255,0,0)"||obj.style.color=="#ff0000") 
{obj.style.color="#000000";} 
else{obj.style.color="#ff0000";} 
}

 

 

正解:"rgb(255, 0, 0)"  

红色为rgb(255, 0, 0)0的前面均有空格

TAT 太虐。。。。。。

posted @ 2013-05-09 21:35  大大大的猫  阅读(132)  评论(0编辑  收藏  举报