js用setattribute设置style不起作用
<scriptlanguage="JavaScript">functionon(o){o.setAttribute("style","background-color:r...
<script language="JavaScript">
function on(o){
o.setAttribute("style","background-color:red;cursor:pointer");
}
</script>
<td onmouseover="on(this)">录入修改</td> 展开
function on(o){
o.setAttribute("style","background-color:red;cursor:pointer");
}
</script>
<td onmouseover="on(this)">录入修改</td> 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询