没有单一的执行onmouseover事件的选项吧,不执行是怎样的情况,代码错误还是没有触发?最好检查一下代码先。
解决方案 »
- extjs TabPanel 中打开tab1和tab2出现混乱 求助
- 求教,js,cookie,media player。
- js创建一个div层显示在多个框架上问题
- 一个JAVASCRIPT面向对象编程的问题
- 如何用javascript创建表单结点?
- jquery 想写一个图片轮播
- 一个HTML的BUG。应该怎么避免?
- 用appendChild()后的问题,请教如何删除?
- 请教
- windows徽标的键怎样表示(WshShell.SendKeys())
- contentDocument这个是什么意思
- 请问 如何 删除 动态 创建的 对象 !!! 急!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
if (isIE) {
exe
}
}
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><body>
<script language="javascript">
function document.onmouseover()//鼠标放在上面
{
alert("mouseover");
var eSrc = window.event.srcElement;
alert(eSrc.id);
}
</script>
</body>
</html>这个是我写的代码 可是就是在有的机器上不执行
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><body>
<script language="javascript">function doOver()//鼠标放在上面
{
alert("mouseover");
var eSrc = window.event.srcElement;
alert(eSrc.id);
}
document.body.onmouseover=doOver;
</script></body>
</html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="javascript" for=document Event=onmousemove>
function document.onmouseover()//鼠标放在上面
{
alert("mouseover");
//var eSrc = window.event.srcElement;
//alert(eSrc.id);
}
</script>
</head><body>
</body>
</html>