<tr onclick="this.bgColor='#0000FF'">
  <td>name</td>
  <td>....</td>
</tr>

解决方案 »

  1.   

    采用
    <tr onMouseOver=""   onMouseOut="">事件好
    ================================================<TR  onMouseOver="this.style.backgroundColor='#F7F8FF'"" onMouseOut="this.style.backgroundColor=''">
      

  2.   

    谢谢各位!!!能不能推荐几本 学习JavaScript的好书?最好有电子版的!!什么时候用document,什么时候用this,什么时候用self 晕~