呵呵..我来解决..
icount.toString()//要这么写
y不是字符串类型的话也要用.toString()

解决方案 »

  1.   

    <td     width=4pt align="center" onclick="ChangeColor(this)" onmouseover="overtMouse(this)"  onmouseout="outMouse(this)" ><FONT style="BACKGROUND-COLOR: green"   id='+col+','+row+'  >'+"  "+'</FONT></td>
    我调用的对象
      

  2.   

    你的td里结构都是这样的么,如果是        function ChangeColor(obj) 
            {
                obj.firstChild.style.background = "blue";
            }其他什么都不要