関数highLightRows(){ VAR行= document.getElementsByTagName( 'TR'); (; iは、VAR I = 0 < 行{iは++; .LENGTH) 行[i]は.onmouseover =関数(){ this.style.fontWeight = '太字'。 } 行[i]は.onmouseout =関数(){ this.style.fontWeight = '正常'; } } }
ます。https://www.cnblogs.com/positive/p/3678825.htmlで再現