您现在的位置是:首页 > 电脑技术查询 > web开发

jscript 怎么控制web控件的onmousemove事件

编辑:chaxungu时间:2022-10-02 23:21:35分类:web开发

jscript 如何控制web控件的onmousemove事件
<IMG onmousemove= "move(5) " id= "minute5 " style= "CURSOR: hand " onclick= "btminu.onclick() "onmouseout= "out(5) " src= "image\fullstar.gif " runat= "server ">

怎么用jscript把onmousemove事件去掉?或者动态添加

------解决方案--------------------
document.getElementById( "minute5 ").onmouseover = null;
document.getElementById( "minute5 ").onmouseover = function(){};