怎么才能让onMouseOver事件失效
怎么才能让onMouseOver事件失效
------解决方案--------------------onMouseOver= "doSomething() "
doSemething(){
if (invalidation){
return;
}
...
}
------解决方案--------------------不写这个属性不就行了?
------解决方案--------------------做个页面级变量,控制一下
onMouseOver= "return ove() ";
<script language= "javascript ">
vat kz= "0 ";
function ove(){
if(!kz.equals( "0 ")){
return ;
}
这里写你要写的代码;
kz= "1 ";
}
</script>