很简洁的代码,点击即可运行该代码<body><table border="1px"> <tr> <th id="id_item1" onmouseover="this.bgColor='green'" onmouseout="this.bgColor=''">Menu Item1</th> </tr>
<tr> <th>Menu Item2</th> </tr></table></body>