<table id=rptTable >
    <tr><td >qqq</td></tr>
</table>↓↓ 部分javascript代码  
objTable = document.getElementById(‘myTable’) ;
var TR=objTable.insertRow();
TD = TR.insertCell();
TD.innerHTML=”guid“;
TR.onmouseover="this.style.backgroundColor='yellow'" ;
TR.setAttribute("onmouseover","c=this.style.backgroundColor;this.style.backgroundColor='yellow'" );上面代码实现了动态新增行,但都实现不了onmouseover
哪里错了,该用什么方法实现新增行的onmouseover?